staging: rtlwifi: Replace 0 with false.
PATCH 1/1 staging: rtlwifi: Replace 0 with false.
Replace 0 with false, Bool intializations should use true or false. Detected by Coccinelle semantic patch boolinit.cocci.
--- drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c +1 -1
@@ -830,7 +830,7 @@ static void halbtc_display_wifi_status(struct btc_coexist *btcoexist, dc_mode = true;/*TODO*/ under_ips = rtlpriv->psc.inactive_pwrstate ==ERFOFF ?1 :0 ; under_lps = rtlpriv->psc.dot11_psmode ==EACTIVE ?0 :1 ; - low_power =0 ;/*TODO*/ + low_power = false;/*TODO*/ seq_printf(m, "\n %-35s = %s%s%s%s", "Power Status", (dc_mode ? "DC mode" : "AC mode"),
Signature · 1 line
2.7.4
Quoted 4 lines · Bhagyashri Dighole
Replace 0 with false, Bool intializations should use true or false. Detected by Coccinelle semantic patch
boolinit.cocci.Signed-off-by Bhagyashri Dighole <[email protected]>
Quoted 27 lines
--- drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c +1
-2@@ -830,7 +830,7 @@ static void halbtc_display_wifi_status(struct btc_coexist *btcoexist, dc_mode = true;/*TODO*/ under_ips = rtlpriv->psc.inactive_pwrstate ==ERFOFF ?1 :0 ; under_lps = rtlpriv->psc.dot11_psmode ==EACTIVE ?0 :1 ; - low_power =0 ;/*TODO*/ + low_power = false;/*TODO*/ seq_printf(m, "\n %-35s = %s%s%s%s", "Power Status", (dc_mode ? "DC mode" : "AC mode"), --2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1552565883-10229-1-git-send-email-digholebhagyashri%40gmail.com.
For more options, visit https://groups.google.com/d/optout.