From: Simon Horman <simon.horman@corigine.com>
To: Lai Peter Jun Ann <jun.ann.lai@intel.com>
Cc: netdev@vger.kernel.org, David Ahern <dsahern@kernel.org>,
Stephen Hemminger <stephen@networkplumber.org>,
Vinicius Costa Gomes <vinicius.gomes@intel.com>,
Jamal Hadi Salim <jhs@mojatatu.com>,
Cong Wang <xiyou.wangcong@gmail.com>,
Jiri Pirko <jiri@resnulli.us>,
Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Subject: Re: [PATCH iproute2-next v1] tc_util: Change datatype for maj to avoid overflow issue
Date: Wed, 23 Nov 2022 16:54:06 +0100 [thread overview]
Message-ID: <Y35CHrnLRhsVis29@corigine.com> (raw)
In-Reply-To: <1668997749-5942-1-git-send-email-jun.ann.lai@intel.com>
On Mon, Nov 21, 2022 at 10:29:09AM +0800, Lai Peter Jun Ann wrote:
> [You don't often get email from jun.ann.lai@intel.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> The return value by stroul() is unsigned long int. Hence the datatype
> for maj should defined as unsigned long to avoid overflow issue.
>
> Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
> Signed-off-by: Lai Peter Jun Ann <jun.ann.lai@intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
next prev parent reply other threads:[~2022-11-23 15:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-21 2:29 [PATCH iproute2-next v1] tc_util: Change datatype for maj to avoid overflow issue Lai Peter Jun Ann
2022-11-23 15:54 ` Simon Horman [this message]
2022-11-23 17:00 ` patchwork-bot+netdevbpf
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=Y35CHrnLRhsVis29@corigine.com \
--to=simon.horman@corigine.com \
--cc=dsahern@kernel.org \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=jun.ann.lai@intel.com \
--cc=muhammad.husaini.zulkifli@intel.com \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
--cc=vinicius.gomes@intel.com \
--cc=xiyou.wangcong@gmail.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).