Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4279903rwb; Tue, 16 Aug 2022 18:49:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR4E/I/xL32hwtf/8HQkjkE/mUHIc9yU7XaFzIIVox5ANISsamjjy04lL1ImZNtgJQjhdwDg X-Received: by 2002:a05:6402:2751:b0:443:d90a:43d4 with SMTP id z17-20020a056402275100b00443d90a43d4mr9421195edd.368.1660700976382; Tue, 16 Aug 2022 18:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660700976; cv=none; d=google.com; s=arc-20160816; b=kkRSw/Hr3+rGLiuL+dwE+SCNRqvNzXGGE6JB1m4efSAHycQn52W3JTGeWSvUEinDWr ftnnqy++4h7rhrU+HBguF5fJ4G0LQJMkjid2xgD4Hozt1WYytkXL7t7xe9VGysQeTaQ5 gBLB8Sdyl+73Hs0bKRGEItF6HmEfA1fve7G5iY7XaVlIFcQkYoD3N1hFOmXp8xB/Fl2/ s6qii9lD6QTo0+Zs0FwY0mElUd+LzVPWF/70Ov3NwS3JxnEYnrpJGYRM7KA6T5MfmfRt OVVEFkGekii5JRhMHAGOsvQWLP3Lu7b/kMPF5HPklaTIvsMiLhnqsawJbEMNuC/uCK9d gQsw== 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=XYwE8IKmTsYS+pLhh40E+CCafsSqJK2KRoTcDlcBWsE=; b=ReAEhso84EMjzRXfHms05oEoTBIxPH60sQ7DGH43BiuXElJidMmxFHbHYUBYo8acwk T39ti+oEqnEKuBahldOKrpwQv7pRNoTFQSHA/BOPXCIcHcR3SP/Cl0/cmn3xU+FO8RKE 4+1qIzXEeLDCyyIGnesZwbuWM6aWymvzxn5TKC5H53GrNNWx283D61Vcm0Ucg1CzlKrI GU1MrjiA3t1jqZzv4EL7gc/qZB/sE1MLYp34mwvPBkXxgnGT09J9+w0uQrWer4DmZ9jA QuWNp5VmVns3F776lK6RPZDlsuG7KjLczGyPntgyYuZEYW+UUh+XfLfWZDR7v9DUrwSD MEIw== 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 jg26-20020a170907971a00b0072b57c1f238si11250160ejc.291.2022.08.16.18.49.10; Tue, 16 Aug 2022 18:49:36 -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 S238274AbiHQBk0 (ORCPT + 99 others); Tue, 16 Aug 2022 21:40:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237636AbiHQBkZ (ORCPT ); Tue, 16 Aug 2022 21:40:25 -0400 Received: from bg5.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FD8C95E77; Tue, 16 Aug 2022 18:40:23 -0700 (PDT) X-QQ-mid: bizesmtp86t1660700377tn416pav Received: from harry-jrlc.. ( [182.148.12.144]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 17 Aug 2022 09:39:27 +0800 (CST) X-QQ-SSF: 0100000000000060D000000A0000000 X-QQ-FEAT: znfcQSa1hKaB2KlE+v5lzICgo6c8CVEBiPhKwi69cBHnRXhUB0VZkEfsBjK9I q2U780xj15yzCP7ciTU8g84Ve+NW5PaG1nnkwPSBRGLyzHfx3rV8r2Zzp7QKpuKtwYXzq9t +TDCou31S6wMxrhevCwXnPYJ2nMOF/0oU3Plr8Ub+RCrk600tv2tlW5yNg6QYWCoj3Oes3O 7ZEo+BWClMJO8pJzkHXbEmQtRXpmnSTu25vjdB8D1lLujrvpsJtUjQEldppxWXAQoYkKWAI PTlv6jNeVThmfhRKqj2YyR/FXrZvvsoqWXhzrK7oAXlEayR/su5k4hEVEwO5N+IqsLPLlUy SGn2GXdNTCBmckdaqFS4Fiap8BopuAfM0wAvoPAtyFCYtfDdaA0HvFzE2+dqQ== X-QQ-GoodBg: 0 From: Xin Gao To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, joannelkoong@gmail.com, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] bpf: Variable type completion Date: Wed, 17 Aug 2022 09:39:25 +0800 Message-Id: <20220817013925.10714-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=unavailable 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/bpf_sk_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/bpf_sk_storage.c b/net/core/bpf_sk_storage.c index a25ec93729b9..b3c0bb601167 100644 --- a/net/core/bpf_sk_storage.c +++ b/net/core/bpf_sk_storage.c @@ -732,7 +732,7 @@ EXPORT_SYMBOL_GPL(bpf_sk_storage_diag_put); struct bpf_iter_seq_sk_storage_map_info { struct bpf_map *map; unsigned int bucket_id; - unsigned skip_elems; + unsigned int skip_elems; }; static struct bpf_local_storage_elem * -- 2.30.2