From: David Miller <davem@davemloft.net>
To: kuba@kernel.org
Cc: jiri@resnulli.us, jacob.e.keller@intel.com,
netdev@vger.kernel.org, kernel-team@fb.com
Subject: Re: [PATCH net-next] devlink: refactor end checks in devlink_nl_cmd_region_read_dumpit
Date: Thu, 14 May 2020 17:36:56 -0700 (PDT) [thread overview]
Message-ID: <20200514.173656.904859689209825339.davem@davemloft.net> (raw)
In-Reply-To: <20200513172822.2663102-1-kuba@kernel.org>
From: Jakub Kicinski <kuba@kernel.org>
Date: Wed, 13 May 2020 10:28:22 -0700
> Clean up after recent fixes, move address calculations
> around and change the variable init, so that we can have
> just one start_offset == end_offset check.
>
> Make the check a little stricter to preserve the -EINVAL
> error if requested start offset is larger than the region
> itself.
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Applied, thanks.
prev parent reply other threads:[~2020-05-15 0:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-13 17:28 [PATCH net-next] devlink: refactor end checks in devlink_nl_cmd_region_read_dumpit Jakub Kicinski
2020-05-13 20:56 ` Jacob Keller
2020-05-13 21:19 ` Jakub Kicinski
2020-05-15 0:36 ` David Miller [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=20200514.173656.904859689209825339.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jacob.e.keller@intel.com \
--cc=jiri@resnulli.us \
--cc=kernel-team@fb.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
/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).