Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4278340rwb; Tue, 16 Aug 2022 18:46:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR7rIgvYv6NohF/FUfRqEit6svfcpQJYXOkch7VXj+VlP21VrUy1W4FpqSA/EXzOhXZCnaBb X-Received: by 2002:a17:90b:4b04:b0:1f5:2da0:b2f6 with SMTP id lx4-20020a17090b4b0400b001f52da0b2f6mr1335240pjb.195.1660700814692; Tue, 16 Aug 2022 18:46:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660700814; cv=none; d=google.com; s=arc-20160816; b=pbNgrcp/zbfHAq2iZa9GDspIiQ2S9lS0gGQE3fwDAFKRS1dZW2JtiAurj4BekqKf/f hR08GoJiQ7jjTsnD9Inr8fCb7dMJrdIWH7+Rlbr/sQ2qCXinxbCCSwMJBsqaea6eGCOf w7kdbEUBz1m0oy+3Ti2HP3LpKWn6wjt2AUZdylF2l0/EFm4pjzae8dWYQa2AYrmGYZob ZVCCw1dRO/I5nMhRLf7vpHhNV4aQDgLiEsI9sA0HaH5HLG0RXlWeMNy9hC1SWVZay6aE HWZfA4bw34ocIUhhieYYctWachvM4cxOaMiWqLRgMQRFyA25OT8lEOa2/WIbyjM32JBw a09g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=1MTiPc9FX0/ClvidoCUypaTPSHzYWRA06kSGNv27W9M=; b=ys+IwD0nP2ojw9Ynkf7kY+ULn6b5RZgrk2LzPcSBGe36fae+PFOnVnKSF+Ueh5Hin1 g7vSusFaxgR+7gncGaWw8cG5zhlv80KrQyX+69vzSM8w44upSTvr3iyur1LkiEWdInCf Cqngo341d+C9CERSfoVeIURZcO1uZItBREWUhVanjdMpQd8Xn/XUsk3yKpTWMeN+rpQB qbBflfbaWiERa5eB4HlK0Zy171vZUnPVcm9C/G7EtW+u8UC+RUXQzNHF5ZA8X/Yb4v7z euofHTibC83x6ru4Bsre4avq4x2FiYroB+h2sqylRSwOpXaQUd5DhRwTIAYSZkHJVoz8 HpnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a170903024700b0017272dec361si158196plh.99.2022.08.16.18.46.44; Tue, 16 Aug 2022 18:46:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232908AbiHQBir (ORCPT + 99 others); Tue, 16 Aug 2022 21:38:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238243AbiHQBih (ORCPT ); Tue, 16 Aug 2022 21:38:37 -0400 Received: from bg5.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2323312746; Tue, 16 Aug 2022 18:38:30 -0700 (PDT) X-QQ-mid: bizesmtp84t1660700140tqrou117 Received: from harry-jrlc.. ( [182.148.12.144]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 17 Aug 2022 09:35:31 +0800 (CST) X-QQ-SSF: 0100000000000060D000000A0000020 X-QQ-FEAT: G46xFj+wOV8gq2KsCsec865LlWF+eTeq4g1VXYFGr7CJgYAfWGuW/aH1av9g5 xHeP7pN7GKla1MLgHvqnGT7ROAgz/BQ972Id7Kv9pUbOQTpRcnB8Ot6VlfyFkbM8ZBYS+DG OFqR6m+JmMBZq/Ni+TJBaau7sM2YzVzfFNfn08W4WhKJykS9y1SONfje0NgGiFAxiUv0JKc m/wFJecgQfqWqI2JtJ33bfM6CRkBH1LvL8c/iodHlI/l/ZbDT20nEqnVy1Qf0w12sevrZ6p F3i/HZpp67Yd8qwznNtNGiRGcitwPiPeV2mSX7zmKRU4TfRjJy9Ew1YoOq/KGE8ozPOaF2H IcCYaomwBuoao+uLrOPKfJl5I02xqla4KWU7R+We7SmHHyMIZYxc+4dUDLtmA== X-QQ-GoodBg: 0 From: Xin Gao To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: sdf@google.com, tj@kernel.org, daniel@iogearbox.net, ast@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] core: Variable type completion Date: Wed, 17 Aug 2022 09:35:29 +0800 Message-Id: <20220817013529.10535-1-gaoxin@cdjrlc.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'unsigned int' is better than 'unsigned'. Signed-off-by: Xin Gao --- net/core/netclassid_cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/netclassid_cgroup.c b/net/core/netclassid_cgroup.c index 1a6a86693b74..d6a70aeaa503 100644 --- a/net/core/netclassid_cgroup.c +++ b/net/core/netclassid_cgroup.c @@ -66,7 +66,7 @@ struct update_classid_context { #define UPDATE_CLASSID_BATCH 1000 -static int update_classid_sock(const void *v, struct file *file, unsigned n) +static int update_classid_sock(const void *v, struct file *file, unsigned int n) { struct update_classid_context *ctx = (void *)v; struct socket *sock = sock_from_file(file); -- 2.30.2