Re: [PATCH 3/7] s390/qeth: Convert snprintf() to scnprintf()

From: Jakub Kicinski
Date: Mon Sep 26 2022 - 20:33:20 EST


On Mon, 26 Sep 2022 19:42:38 +0100 Jules Irenge wrote:
> Coccinnelle reports a warning
> Warning: Use scnprintf or sprintf
> Adding to that, there has been a slow migration from snprintf to scnprintf.
> This LWN article explains the rationale for this change
> https: //lwn.net/Articles/69419/
> Ie. snprintf() returns what *would* be the resulting length,
> while scnprintf() returns the actual length.
>
> Signed-off-by: Jules Irenge <jbi.octave@xxxxxxxxx>

Looks legit but please repost this separately.
We only see patch 3 of the series.