[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220926173312.7a735619@kernel.org>
Date: Mon, 26 Sep 2022 17:33:12 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jules Irenge <jbi.octave@...il.com>
Cc: borntraeger@...ux.ibm.com, svens@...ux.ibm.com,
linux-s390@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, agordeev@...ux.ibm.com
Subject: Re: [PATCH 3/7] s390/qeth: Convert snprintf() to scnprintf()
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@...il.com>
Looks legit but please repost this separately.
We only see patch 3 of the series.
Powered by blists - more mailing lists