From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB2D7EB64DD for ; Mon, 17 Jul 2023 03:11:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231261AbjGQDLa (ORCPT ); Sun, 16 Jul 2023 23:11:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231197AbjGQDLT (ORCPT ); Sun, 16 Jul 2023 23:11:19 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C000E4C for ; Sun, 16 Jul 2023 20:11:14 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R46YC5G5fzBHYMQ for ; Mon, 17 Jul 2023 11:11:11 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689563471; x=1692155472; bh=5pfHnurrO8HEEiqTxHThC6NSN3N hBzCzjOJYI5fhtmA=; b=h2GkpB1WMZWKdK8hojZqWD+pucPXuDJtGi5WTY0lVBb i5coZ+lEWTihCBNcWXnwQj9Iex9eIt7uZVEZ1LMysRotAn6Bx1dAZweomJzKo3mp dq2Y/D3/LyyshaSsseLaVU5gfChwdZ8g8Ubpa2Ao2KfbFtCYswBen1goekhJLoln ant02pKO5vtMEonV/HYnKGCOh4wOKiEvQNEXIRtyUVMcnjpUTYC9dD+M+NQiiIAY BOQvd8RGOKfIYTiGH34RV9qhDSEKtH0h4Ve0pUWqnntwzCUCWsO3LHLepZgabhoS gUKDuFxDtY3b3nMudyY+QSb/SitrhbvrNQByy06K/iA== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YuAaJkvRPn1H for ; Mon, 17 Jul 2023 11:11:11 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R46YC2GHgzBHYMC; Mon, 17 Jul 2023 11:11:11 +0800 (CST) MIME-Version: 1.0 Date: Mon, 17 Jul 2023 11:11:11 +0800 From: hanyu001@208suo.com To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] 3c574_cs: Prefer unsigned int to bare use of unsigned In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <7f6fba66a5cad4486c04efe56ded5ae9@208suo.com> X-Sender: hanyu001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes the checkpatch.pl error ./drivers/net/ethernet/3com/3c574_cs.c:770: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: maqimei <2433033762@qq.com> --- drivers/net/ethernet/3com/3c574_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/3com/3c574_cs.c b/drivers/net/ethernet/3com/3c574_cs.c index 287af1d..6f5c9db 100644 --- a/drivers/net/ethernet/3com/3c574_cs.c +++ b/drivers/net/ethernet/3com/3c574_cs.c @@ -767,7 +767,7 @@ static irqreturn_t el3_interrupt(int irq, void *dev_id) struct net_device *dev = (struct net_device *) dev_id; struct el3_private *lp = netdev_priv(dev); unsigned int ioaddr; - unsigned status; + unsigned int status; int work_budget = max_interrupt_work; int handled = 0;