[PATCH 07/10] staging: rtl8188eu: add missing blank lines after declarations

Larry Finger Larry.Finger at lwfinger.net
Thu May 14 15:33:31 UTC 2015


On 05/13/2015 05:08 PM, Luca Ceresoli wrote:
> Fixes checkpatch warnings:
>    WARNING: Missing a blank line after declarations
>
> Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
> Cc: Greg Kroah-Hartman <gregkh at linux.com>
> Cc: Larry Finger <Larry.Finger at lwfinger.net>
> ---
>   drivers/staging/rtl8188eu/os_dep/os_intfs.c | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
> index 9e80e97..ff49c30 100644
> --- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c
> +++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
> @@ -1060,6 +1060,7 @@ static int  ips_netdrv_open(struct adapter *padapter)
>   {
>   	int status = _SUCCESS;
>   	padapter->net_closed = false;
> +

To satisfy the stated goal, this blank line should be moved up one line.


>   	DBG_88E("===> %s.........\n", __func__);
>
>   	padapter->bDriverStopped = false;
> @@ -1091,6 +1092,7 @@ int rtw_ips_pwr_up(struct adapter *padapter)
>   {
>   	int result;
>   	u32 start_time = jiffies;
> +
>   	DBG_88E("===>  rtw_ips_pwr_up..............\n");
>   	rtw_reset_drv_sw(padapter);
>
> @@ -1105,6 +1107,7 @@ int rtw_ips_pwr_up(struct adapter *padapter)
>   void rtw_ips_pwr_down(struct adapter *padapter)
>   {
>   	u32 start_time = jiffies;
> +
>   	DBG_88E("===> rtw_ips_pwr_down...................\n");
>
>   	padapter->net_closed = true;
>

Larry



More information about the devel mailing list