Message ID | 20230609085249.131071-1-yang.lee@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp809927vqr; Fri, 9 Jun 2023 02:06:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4FxrOt+mf+yUvIHC+fr36x7/RgyJ1cVop97Vro8YgQIggfiEPBBhuT9RElsf6pEjOobVoc X-Received: by 2002:a05:6a21:3988:b0:117:d4d:15fb with SMTP id ad8-20020a056a21398800b001170d4d15fbmr450204pzc.10.1686301608153; Fri, 09 Jun 2023 02:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686301608; cv=none; d=google.com; s=arc-20160816; b=y5Ate0Po8fK6zc/YofaaQAPQgBqy84Q3jXB58oSIPwnkwxw2mSgizmoHd1Ro9TbhYS FuPU44XCFyAyBovDt/s0QV1VROuIcOdIpa6jyopaV+xAcL/24ZWUXTHjWE06MQExLpBR sE3exW0Y6hr4cHz4DOQNicFhnQQDWHdOQiZpkSPbRl/t85qobVLBezk0MFCeeOHz+wgU JZtCF3m5QYDWPfUpoXICRNmiPCnHJTrM+yqRiRUau20SovzYj8s6FE8IT1eF+k1Rc6ks KuQN29BDkyQYjvFai9J+lK2HIkrBytMktAevQFIkpkFZGRxpW2inPzW59/qjnD63NDLC pI7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6Ep7tDhH+ZcWc2zbEBWwocOR3pKprorXoUJFIikAZ2M=; b=w6RtGN6bsNyJgSUOCHijwiZgBIbsDGTmPomft/d0gb7Y8gvhGdBpDdSO8i4CIDj9K5 grs2irV8GDj2G9fhnkrCrXcSx/8BQHY12DKJXxTT1YySXUDC2GYu6uJPmVvhRNc1MmJH N3uKAyJ264EaZbg8xH87UYoGGS1GYUqIu+6ubllDoohw3b9sWI2BZf+N/DQty27vqErl RLI7ZYRgFxpvO778+m92xT79KsMOhYmgXZ4mzD6ntrN4srJAfWPLlPPTNjCirSjpdM2b 4Wp8FjBYXC3AtdPqNQD9DgRdkWoErJcAEwkozFqgdGoC1oDtRg7uuZ+Hm2c3cZLVRWGB g/JQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w20-20020a639354000000b0053f24d5aaadsi2277762pgm.121.2023.06.09.02.06.33; Fri, 09 Jun 2023 02:06:48 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241041AbjFIIxs (ORCPT <rfc822;liningstudo@gmail.com> + 99 others); Fri, 9 Jun 2023 04:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241065AbjFIIxK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Jun 2023 04:53:10 -0400 Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5374AE2; Fri, 9 Jun 2023 01:52:54 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VkhM7Nq_1686300770; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VkhM7Nq_1686300770) by smtp.aliyun-inc.com; Fri, 09 Jun 2023 16:52:51 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: simon.horman@corigine.com Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li <yang.lee@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH net-next 3/3] tools: ynl: Remove duplicated include in devlink-user.c Date: Fri, 9 Jun 2023 16:52:47 +0800 Message-Id: <20230609085249.131071-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_IN_DEF_SPF_WL 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768215394929320755?= X-GMAIL-MSGID: =?utf-8?q?1768215394929320755?= |
Series |
[net-next,1/3] net: hv_netvsc: Remove duplicated include in rndis_filter.c
|
|
Commit Message
Yang Li
June 9, 2023, 8:52 a.m. UTC
./tools/net/ynl/generated/devlink-user.c: stdlib.h is included more than once.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5464
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
tools/net/ynl/generated/devlink-user.c | 1 -
1 file changed, 1 deletion(-)
Comments
Hello: This series was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>: On Fri, 9 Jun 2023 16:52:47 +0800 you wrote: > ./tools/net/ynl/generated/devlink-user.c: stdlib.h is included more than once. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5464 > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > --- > tools/net/ynl/generated/devlink-user.c | 1 - > 1 file changed, 1 deletion(-) Here is the summary with links: - [net-next,3/3] tools: ynl: Remove duplicated include in devlink-user.c (no matching commit) - [net-next,2/3] tools: ynl: Remove duplicated include in handshake-user.c https://git.kernel.org/netdev/net-next/c/e7c5433c5aaa - [net-next,1/3] net: hv_netvsc: Remove duplicated include in rndis_filter.c (no matching commit) You are awesome, thank you!
Fri, Jun 09, 2023 at 10:52:47AM CEST, yang.lee@linux.alibaba.com wrote: >./tools/net/ynl/generated/devlink-user.c: stdlib.h is included more than once. > >Reported-by: Abaci Robot <abaci@linux.alibaba.com> >Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5464 >Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> >--- > tools/net/ynl/generated/devlink-user.c | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/tools/net/ynl/generated/devlink-user.c b/tools/net/ynl/generated/devlink-user.c >index c3204e20b971..18157afd7c73 100644 >--- a/tools/net/ynl/generated/devlink-user.c >+++ b/tools/net/ynl/generated/devlink-user.c You are patching generated file, as the path suggests. See what the file header says: /* Do not edit directly, auto-generated from: */ /* Documentation/netlink/specs/devlink.yaml */ >@@ -8,7 +8,6 @@ > #include "ynl.h" > #include <linux/devlink.h> > >-#include <stdlib.h> > #include <stdio.h> > #include <string.h> > #include <libmnl/libmnl.h> >-- >2.20.1.7.g153144c > >
On Fri, 9 Jun 2023 13:38:21 +0200 Jiri Pirko wrote: > You are patching generated file, as the path suggests. > See what the file header says: > /* Do not edit directly, auto-generated from: */ > /* Documentation/netlink/specs/devlink.yaml */ And the full fix is already on the list :( https://lore.kernel.org/all/20230608211200.1247213-2-kuba@kernel.org/ Reverted...
diff --git a/tools/net/ynl/generated/devlink-user.c b/tools/net/ynl/generated/devlink-user.c index c3204e20b971..18157afd7c73 100644 --- a/tools/net/ynl/generated/devlink-user.c +++ b/tools/net/ynl/generated/devlink-user.c @@ -8,7 +8,6 @@ #include "ynl.h" #include <linux/devlink.h> -#include <stdlib.h> #include <stdio.h> #include <string.h> #include <libmnl/libmnl.h>