Message ID | 20230801005041.74111-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:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp2387540vqg; Mon, 31 Jul 2023 19:12:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlFFqmckQkmJocl+bkS+YhPVjpcm0Z/J8XcP/+d4aWLeA4cB5kt0fpC2AXD5pFfCd45UATN7 X-Received: by 2002:a17:906:31d4:b0:99c:22e9:fbe3 with SMTP id f20-20020a17090631d400b0099c22e9fbe3mr1204625ejf.60.1690855920196; Mon, 31 Jul 2023 19:12:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690855920; cv=none; d=google.com; s=arc-20160816; b=ceE3M/HZ+Pw8g3i/DqN+l2zCeMlQuNtaqeP2kOcqgZsTFGFN+vfFQLr2Q9EH0XXB8Y nMqsg3i5hONOGKSBqmBhs+Ncrn7cO9j3LEwEiT2WmjI+8HbpkkPijOYkiMcesOdQpRLP Ad7n85XXSwB/FLt0PbtR7mR1lulUA1j9YxMvcejberBNCJExw3aLKQASQ0v6m3+jry7t MtMKZC5P/ZDYVIt48kuS1BbNKXQq2+yvT0I5Q4DJnnHTMmiLYf21MOl7O9dUAfLHVbTY /T9oU1/GhKuXaWcMSiMA9p/+yKYnXVZFQnusJh4VqNo07uUgUSP/F3MacYIMfoH42I69 WE1A== 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=e6d2pM+var7ErzWpFYwfrgVGDSdONW2CfU/nrzNBugg=; fh=T1xRg95hhgzxfGuZbJb49fIuSpXR+g4BXmvIDwbd2MQ=; b=Z6FT+AvJHAZrzStFK9jtucgvzceeklwHt+D41dnHUuCT2+Rd3KXkvtC+ni+IFiWPRb JoUXehgwAHrgvOu++2CV1o92RX3EdA41Fz3QtyRVvKH0P+bSknBXV+rJJPQLOeOQUUQ7 B+FIyebaBnYAwi34MiBBW7NVeXkZjoxB74kTjCyaXecX5BHI9krZCp8xaIDKyxC4faU1 mrltzNOMFXW0Bsb71Z12MzvXqQYCq0N8zNvowlXJs1kJvxIGN/+LGlQL+3PlVjvyXlT7 lSZitWlPN2K0c9Osmg6D4G0fecnSUOeSpMmjovm3ifbZUNCLr2PM5tRmaepr4BtnXVtD URGA== 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 j25-20020a170906255900b0098f99532db7si4571626ejb.673.2023.07.31.19.11.36; Mon, 31 Jul 2023 19:12:00 -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 S230166AbjHAAus (ORCPT <rfc822;maxi.paulin@gmail.com> + 99 others); Mon, 31 Jul 2023 20:50:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229676AbjHAAur (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Jul 2023 20:50:47 -0400 Received: from out30-110.freemail.mail.aliyun.com (out30-110.freemail.mail.aliyun.com [115.124.30.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E7E211D; Mon, 31 Jul 2023 17:50:46 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R581e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VoiHEvU_1690851041; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VoiHEvU_1690851041) by smtp.aliyun-inc.com; Tue, 01 Aug 2023 08:50:42 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: madalin.bucur@nxp.com, davem@davemloft.net, kuba@kernel.org, edumazet@google.com, sean.anderson@seco.com, pabeni@redhat.com Cc: netdev@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] net: Remove duplicated include in mac.c Date: Tue, 1 Aug 2023 08:50:41 +0800 Message-Id: <20230801005041.74111-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_BLOCKED,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: INBOX X-GMAIL-THRID: 1772990937531140670 X-GMAIL-MSGID: 1772990937531140670 |
Series |
[net-next] net: Remove duplicated include in mac.c
|
|
Commit Message
Yang Li
Aug. 1, 2023, 12:50 a.m. UTC
./drivers/net/ethernet/freescale/fman/mac.c: linux/of_platform.h is included more than once.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6039
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/net/ethernet/freescale/fman/mac.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Tue, Aug 01, 2023 at 08:50:41AM +0800, Yang Li wrote: > ./drivers/net/ethernet/freescale/fman/mac.c: linux/of_platform.h is included more than once. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6039 > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Looking at git history, I think that a slightly better prefix would be 'net: fman: '. Subject: [PATCH net-next] net: fman: ... But other than that, this looks good to me. Reviewed-by: Simon Horman <horms@kernel.org>
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>: On Tue, 1 Aug 2023 08:50:41 +0800 you wrote: > ./drivers/net/ethernet/freescale/fman/mac.c: linux/of_platform.h is included more than once. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6039 > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > --- > drivers/net/ethernet/freescale/fman/mac.c | 1 - > 1 file changed, 1 deletion(-) Here is the summary with links: - [net-next] net: Remove duplicated include in mac.c https://git.kernel.org/netdev/net-next/c/34093c9fa05d You are awesome, thank you!
diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c index b6c7c4c0b367..9767586b4eb3 100644 --- a/drivers/net/ethernet/freescale/fman/mac.c +++ b/drivers/net/ethernet/freescale/fman/mac.c @@ -12,7 +12,6 @@ #include <linux/of_net.h> #include <linux/of_mdio.h> #include <linux/device.h> -#include <linux/of_platform.h> #include <linux/phy.h> #include <linux/netdevice.h> #include <linux/phy_fixed.h>