]> www.infradead.org Git - users/dwmw2/linux.git/commit
staging: rtl8723bs: Use boolean false instead of integer 0
authorErick Karanja <karanja99erick@gmail.com>
Fri, 11 Apr 2025 08:54:25 +0000 (11:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:30:14 +0000 (16:30 +0200)
commit89d571794f795b626c67dc93bc148af161630a48
tree442c4e4b2934e67a7a7ab0e9eb24e89aafef0763
parent12ad640a04aa33961954be66c604a969a2dc9391
staging: rtl8723bs: Use boolean false instead of integer 0

In the struct definition, adaptivity_flag is defined as type 'bool'.
This change replaces the integer literal 0 with the boolean
constant false to match the declared type. It ensures semantic
correctness, and aligns with kernel coding conventions
that prefer true/false over 1/0 for bool types.

found by coccinelle

Signed-off-by: Erick Karanja <karanja99erick@gmail.com>
Link: https://lore.kernel.org/r/20250411085425.44177-1-karanja99erick@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/odm_DIG.c