summaryrefslogtreecommitdiff
path: root/lib/bug.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>2025-12-03 15:06:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-18 14:00:17 +0100
commit5b5d070700b9e5485822321c13bf08277a6b8410 (patch)
tree63ba5721b3709b2e7934af063ff71a1c2cdf9fde /lib/bug.c
parentbca11de0a277b8baeb7d006f93b543c907b6e782 (diff)
downloadlinux-5b5d070700b9e5485822321c13bf08277a6b8410.tar.gz
linux-5b5d070700b9e5485822321c13bf08277a6b8410.tar.bz2
linux-5b5d070700b9e5485822321c13bf08277a6b8410.zip
ASoC: codecs: nau8325: Silence uninitialized variables warnings
commit 2c7e5e17c05f1d5e10e63e1baff2b362cd08dcd6 upstream. clang W=1 builds warn: nau8325.c:430:13: error: variable 'n2_max' is uninitialized when used here [-Werror,-Wuninitialized] which are false positive, because the variables will be always initialized when used (guarded by mclk_max!=0 check). However initializing them upfront makes the code more obvious and easier, plus it silences the warning. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20251203140611.87191-2-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions