Re: [PATCH 1/5] rtlwifi: rtl_pci: fix bool comparison in expressions

2021-01-25 Thread Kalle Valo
Aditya Srivastava wrote: > There are certain conditional expressions in rtl_pci, where a boolean > variable is compared with true/false, in forms such as (foo == true) or > (false != bar), which does not comply with checkpatch.pl (CHECK: > BOOL_COMPARISON), according to which boolean variables

[PATCH 1/5] rtlwifi: rtl_pci: fix bool comparison in expressions

2021-01-10 Thread Aditya Srivastava
There are certain conditional expressions in rtl_pci, where a boolean variable is compared with true/false, in forms such as (foo == true) or (false != bar), which does not comply with checkpatch.pl (CHECK: BOOL_COMPARISON), according to which boolean variables should be themselves used in the