[PATCH] staging: rtl8188eu: Fix coding style issue for braces

Greg KH gregkh at linuxfoundation.org
Fri Jul 28 04:51:31 UTC 2017


On Thu, Jul 27, 2017 at 09:33:45AM -0500, Deb McLemore wrote:
> checkpatch.pl open brace following function declaration goes on
> next line so fix the brace to go properly on next line
> 
> Signed-off-by: Deb McLemore <debmc at linux.vnet.ibm.com>
> ---
>  drivers/staging/rtl8188eu/include/rtw_ioctl.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtl8188eu/include/rtw_ioctl.h b/drivers/staging/rtl8188eu/include/rtw_ioctl.h
> index 0fa78ed..4c925e6 100644
> --- a/drivers/staging/rtl8188eu/include/rtw_ioctl.h
> +++ b/drivers/staging/rtl8188eu/include/rtw_ioctl.h
> @@ -75,7 +75,8 @@ struct oid_par_priv {
>  };
>  
>  #if defined(_RTW_MP_IOCTL_C_)
> -static int oid_null_function(struct oid_par_priv *poid_par_priv) {
> +static int oid_null_function(struct oid_par_priv *poid_par_priv)
> +{
>  	return NDIS_STATUS_SUCCESS;
>  }
>  #endif

Someone else sent this same patch right before you did, sorry.

greg k-h


More information about the devel mailing list