lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 03 Sep 2014 14:21:38 +0200
From:	Jes Sorensen <Jes.Sorensen@...hat.com>
To:	Greg Donald <gdonald@...il.com>
Cc:	Greg Kroah-Hartman <gregkh@...ux.com>,
	Larry Finger <Larry.Finger@...inger.net>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: staging: rtl8723au: Fix return is not a function, parentheses are not required error

Greg Donald <gdonald@...il.com> writes:
> Fix checkpatch.pl return is not a function, parentheses are not required error
>
> Signed-off-by: Greg Donald <gdonald@...il.com>
> ---
>  drivers/staging/rtl8723au/include/osdep_service.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Yes please!

Acked-by: Jes Sorensen <Jes.Sorensen@...hat.com>

>
> diff --git a/drivers/staging/rtl8723au/include/osdep_service.h
> b/drivers/staging/rtl8723au/include/osdep_service.h
> index 51a5d7b..dedb418 100644
> --- a/drivers/staging/rtl8723au/include/osdep_service.h
> +++ b/drivers/staging/rtl8723au/include/osdep_service.h
> @@ -54,7 +54,7 @@ struct rtw_queue {
>  
>  static inline struct list_head *get_list_head(struct rtw_queue *queue)
>  {
> -	return (&queue->queue);
> +	return &queue->queue;
>  }
>  
>  static inline int rtw_netif_queue_stopped(struct net_device *pnetdev)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ