All of lore.kernel.org
 help / color / mirror / Atom feed
From: wangyunjian <wangyunjian@huawei.com>
To: Florian Westphal <fw@strlen.de>
Cc: "netfilter-devel@vger.kernel.org"
	<netfilter-devel@vger.kernel.org>,
	"pablo@netfilter.org" <pablo@netfilter.org>,
	"kadlec@netfilter.org" <kadlec@netfilter.org>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"coreteam@netfilter.org" <coreteam@netfilter.org>,
	xudingke <xudingke@huawei.com>
Subject: RE: [PATCH net] netfilter: nf_conncount: fix wrong variable type
Date: Thu, 30 May 2024 09:42:05 +0000	[thread overview]
Message-ID: <fc77f3c83cd3470ba1678f48dcbd172c@huawei.com> (raw)
In-Reply-To: <20240530075220.GA19949@breakpoint.cc>

> -----Original Message-----
> From: Florian Westphal [mailto:fw@strlen.de]
> Sent: Thursday, May 30, 2024 3:52 PM
> To: wangyunjian <wangyunjian@huawei.com>
> Cc: Florian Westphal <fw@strlen.de>; netfilter-devel@vger.kernel.org;
> pablo@netfilter.org; kadlec@netfilter.org; kuba@kernel.org;
> davem@davemloft.net; coreteam@netfilter.org; xudingke
> <xudingke@huawei.com>
> Subject: Re: [PATCH net] netfilter: nf_conncount: fix wrong variable type
> 
> wangyunjian <wangyunjian@huawei.com> wrote:
> > > -----Original Message-----
> > > From: Florian Westphal [mailto:fw@strlen.de]
> > > Sent: Wednesday, May 29, 2024 8:03 PM
> > > To: wangyunjian <wangyunjian@huawei.com>
> > > Cc: netfilter-devel@vger.kernel.org; pablo@netfilter.org;
> kadlec@netfilter.org;
> > > kuba@kernel.org; davem@davemloft.net; coreteam@netfilter.org;
> xudingke
> > > <xudingke@huawei.com>
> > > Subject: Re: [PATCH net] netfilter: nf_conncount: fix wrong variable type
> > >
> > > Yunjian Wang <wangyunjian@huawei.com> wrote:
> > > > 'keylen' is supposed to be unsigned int, not u8, so fix it.
> > >
> > > Its limited to 5, so u8 works fine.
> >
> > Currently, it does not affect the functionality. The main issue is that code
> > checks will report a warning: implicit narrowing conversion from type
> > 'unsigned int' to small type 'u8'.
> 
> Then please quote the exact warning in the commit message and remove the
> u8 temporary variable in favor of data->keylen.

OK, I will update it. This is not a bugfix, only considered for net-next?

Thanks.

  reply	other threads:[~2024-05-30  9:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-29  1:40 [PATCH net] netfilter: nf_conncount: fix wrong variable type Yunjian Wang
2024-05-29 12:02 ` Florian Westphal
2024-05-30  3:02   ` wangyunjian
2024-05-30  7:52     ` Florian Westphal
2024-05-30  9:42       ` wangyunjian [this message]
2024-05-30 13:13         ` Florian Westphal

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=fc77f3c83cd3470ba1678f48dcbd172c@huawei.com \
    --to=wangyunjian@huawei.com \
    --cc=coreteam@netfilter.org \
    --cc=davem@davemloft.net \
    --cc=fw@strlen.de \
    --cc=kadlec@netfilter.org \
    --cc=kuba@kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=xudingke@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.