[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1db3bfe5-0982-b445-9c94-784478279028@gmail.com>
Date: Thu, 23 Feb 2023 23:14:56 +0300
From: Ivan Orlov <ivan.orlov0322@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: perex@...ex.cz, tiwai@...e.com, shuah@...nel.org,
alsa-devel@...a-project.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org, skhan@...uxfoundation.org
Subject: Re: [PATCH] Fix snprintf format warnings during 'alsa' kselftest
compilation
On 23.02.2023 18:05, Mark Brown wrote:
> What warnings are you seeing in what configuration (arch, toolchain, any
> custom options...)? I'm not seeing anything when I test. Are these
> perhaps architecture dependent warnings?
>
> Please submit patches using subject lines reflecting the style for the
> subsystem, this makes it easier for people to identify relevant patches.
> Look at what existing commits in the area you're changing are doing and
> make sure your subject lines visually resemble what they're doing.
> There's no need to resubmit to fix this alone.
Thank you for the review! I will follow the common subject lines style
in the future.
I compiled the test via gcc 11.3.0 without any custom options, the arch
is x86_64. There were five warnings during the test compilation, and all
of them were caused by incorrect format in 'snprintf' function calls. As
I know, using incorrect format in 'snprintf' creates an undefined
behavior. Maybe there is a point to fix it?
Powered by blists - more mailing lists