On Fri, May 15, 2020 at 01:49:30PM +0100, John Oldman wrote:
> @@ -1167,9 +1166,8 @@ void rtw_dev_unload(struct adapter *padapter)
>                       DBG_871X_LEVEL(_drv_always_, "%s: driver in 
> IPS-FWLPS\n", __func__);
>                       pdbgpriv->dbg_dev_unload_inIPS_cnt++;
>                       LeaveAllPowerSaveMode(padapter);
> -             } else {
> +             } else
>                       DBG_871X_LEVEL(_drv_always_, "%s: driver not in IPS\n", 
> __func__);
> -             }

You didn't run checkpatch on this patch.  The rule is that if one side
of the if else statement has curly braces then all sides get curly
braces even if they're just one line long.

regards,
dan carpenter

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to