mbox series

[0/2] kyber, blk-wbt: Replace strlcpy with strscpy

Message ID 20230703172159.3668349-1-azeemshaikh38@gmail.com (mailing list archive)
Headers show
Series kyber, blk-wbt: Replace strlcpy with strscpy | expand

Message

Azeem Shaikh July 3, 2023, 5:21 p.m. UTC
This patch series replaces strlcpy in the kyber and blk-wbt tracing subsystems wherever trivial
replacement is possible, i.e return value from strlcpy is unused. The patches
themselves are independent of each other and are applied to different subsystems. They are
included as a series for ease of review.

Note to reviewers: MAINTAINERS file does not specify clear ownership of
these files so I have addressed these to the latest committer for these
files: Jens Axboe <axboe@kernel.dk>.

Azeem Shaikh (2):
  kyber: Replace strlcpy with strscpy
  blk-wbt: Replace strlcpy with strscpy

 include/trace/events/kyber.h | 8 ++++----
 include/trace/events/wbt.h   | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

Comments

Kees Cook July 12, 2023, 11:44 p.m. UTC | #1
On Mon, Jul 03, 2023 at 05:21:57PM +0000, Azeem Shaikh wrote:
> This patch series replaces strlcpy in the kyber and blk-wbt tracing subsystems wherever trivial
> replacement is possible, i.e return value from strlcpy is unused. The patches
> themselves are independent of each other and are applied to different subsystems. They are
> included as a series for ease of review.
> 
> Note to reviewers: MAINTAINERS file does not specify clear ownership of
> these files so I have addressed these to the latest committer for these
> files: Jens Axboe <axboe@kernel.dk>.
> 
> Azeem Shaikh (2):
>   kyber: Replace strlcpy with strscpy
>   blk-wbt: Replace strlcpy with strscpy
> 
>  include/trace/events/kyber.h | 8 ++++----
>  include/trace/events/wbt.h   | 8 ++++----
>  2 files changed, 8 insertions(+), 8 deletions(-)

These looks correct to me. I can take them if no one else wants them.

Reviewed-by: Kees Cook <keescook@chromium.org>
Jens Axboe July 13, 2023, 1:43 a.m. UTC | #2
On Mon, 03 Jul 2023 17:21:57 +0000, Azeem Shaikh wrote:
> This patch series replaces strlcpy in the kyber and blk-wbt tracing subsystems wherever trivial
> replacement is possible, i.e return value from strlcpy is unused. The patches
> themselves are independent of each other and are applied to different subsystems. They are
> included as a series for ease of review.
> 
> Note to reviewers: MAINTAINERS file does not specify clear ownership of
> these files so I have addressed these to the latest committer for these
> files: Jens Axboe <axboe@kernel.dk>.
> 
> [...]

Applied, thanks!

[1/2] kyber: Replace strlcpy with strscpy
      commit: 150b5f497df6bdb4730cae1eb98f13017b2eef6c
[2/2] blk-wbt: Replace strlcpy with strscpy
      commit: 3abf6029341f2fd2ea6e48289662e8e4e3e96945

Best regards,