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 03:02:28 +0000 [thread overview]
Message-ID: <d6a7fe4b75b14cdda1a259c2acb10766@huawei.com> (raw)
In-Reply-To: <20240529120238.GA12043@breakpoint.cc>
> -----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'.
next prev parent reply other threads:[~2024-05-30 3:02 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 [this message]
2024-05-30 7:52 ` Florian Westphal
2024-05-30 9:42 ` wangyunjian
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=d6a7fe4b75b14cdda1a259c2acb10766@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 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).