]> www.infradead.org Git - users/dwmw2/linux.git/commit
staging: rtl8723bs: use preferred comparison order
authorErick Karanja <karanja99erick@gmail.com>
Sat, 5 Apr 2025 11:26:05 +0000 (14:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:28:44 +0000 (16:28 +0200)
commitfe1f8eefe19bba3ac995e316dac7f312ef6ec84e
treed8edcb677db74d6697277af6c74da98b4536dfcd
parentc0c64f7b6d05a31f3d4f1ad5cdddd8407956b54f
staging: rtl8723bs: use preferred comparison order

Refactor  conditions check to follow the Linux kernel
coding style, which prefers placing the variable on the left side
of the comparison.

Reported by checkpatch:

WARNING: Comparisons should place the constant on the right side
    of the test

Signed-off-by: Erick Karanja <karanja99erick@gmail.com>
Link: https://lore.kernel.org/r/3534b660142c78e800e369c31df091625e61f844.1743851473.git.karanja99erick@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/hal_btcoex.c