From: Simon Horman <simon.horman@corigine.com>
To: Yang Li <yang.lee@linux.alibaba.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, kys@microsoft.com, haiyangz@microsoft.com,
wei.liu@kernel.org, decui@microsoft.com,
linux-hyperv@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org,
Abaci Robot <abaci@linux.alibaba.com>
Subject: Re: [PATCH -next] net: hv_netvsc: Remove duplicated include in rndis_filter.c
Date: Thu, 8 Jun 2023 14:30:10 +0200 [thread overview]
Message-ID: <ZIHJ0pxnv63jGkuW@corigine.com> (raw)
In-Reply-To: <20230608080316.84203-1-yang.lee@linux.alibaba.com>
On Thu, Jun 08, 2023 at 04:03:16PM +0800, Yang Li wrote:
> ./drivers/net/hyperv/rndis_filter.c: linux/slab.h is included more than once.
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5462
> Fixes: 4cab498f33f7 ("hv_netvsc: Allocate rx indirection table size dynamically")
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Hi Yang Li,
A few nits from my side;
1. The subject should include the target tree, in this case net-next.
[PATCH net-next] ...
2. I don't think this needs a fixes tag: nothing was broken
I'm not sure this warrants a v2.
If you do decide to post a v2, please allow for 24h since
v1 was posted.
Link: https://kernel.org/doc/html/v6.3/process/maintainer-netdev.html
Lastly, I think at least one other similar change has been posted recently.
Please consider batching up such changes, say in groups of 10 patches,
and posting them as a patch-set.
The change itself seems fine to me.
Reviewed-by: Simon Horman <simon.horman@corigine.com>
> ---
> drivers/net/hyperv/rndis_filter.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c
> index af95947a87c5..ecc2128ca9b7 100644
> --- a/drivers/net/hyperv/rndis_filter.c
> +++ b/drivers/net/hyperv/rndis_filter.c
> @@ -21,7 +21,6 @@
> #include <linux/rtnetlink.h>
> #include <linux/ucs2_string.h>
> #include <linux/string.h>
> -#include <linux/slab.h>
>
> #include "hyperv_net.h"
> #include "netvsc_trace.h"
> --
> 2.20.1.7.g153144c
>
>
prev parent reply other threads:[~2023-06-08 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-08 8:03 [PATCH -next] net: hv_netvsc: Remove duplicated include in rndis_filter.c Yang Li
2023-06-08 12:30 ` Simon Horman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZIHJ0pxnv63jGkuW@corigine.com \
--to=simon.horman@corigine.com \
--cc=abaci@linux.alibaba.com \
--cc=davem@davemloft.net \
--cc=decui@microsoft.com \
--cc=edumazet@google.com \
--cc=haiyangz@microsoft.com \
--cc=kuba@kernel.org \
--cc=kys@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=wei.liu@kernel.org \
--cc=yang.lee@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).