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] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 27 Nov 2020 18:03:56 +0100
From:   Greg KH <gregkh@...uxfoundation.org>
To:     trix@...hat.com
Cc:     arnd@...db.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] misc: altera-stapl: remove trailing semicolon in macro
 definition

On Fri, Nov 27, 2020 at 08:54:21AM -0800, trix@...hat.com wrote:
> From: Tom Rix <trix@...hat.com>
> 
> The macro use will already have a semicolon.
> 
> Signed-off-by: Tom Rix <trix@...hat.com>
> ---
>  drivers/misc/altera-stapl/altera-jtag.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/misc/altera-stapl/altera-jtag.c b/drivers/misc/altera-stapl/altera-jtag.c
> index 27e8e0c9e8cf..0238600107b0 100644
> --- a/drivers/misc/altera-stapl/altera-jtag.c
> +++ b/drivers/misc/altera-stapl/altera-jtag.c
> @@ -17,9 +17,9 @@
>  #include "altera-jtag.h"
>  
>  #define	alt_jtag_io(a, b, c)\
> -		astate->config->jtag_io(astate->config->dev, a, b, c);
> +		astate->config->jtag_io(astate->config->dev, a, b, c)
>  
> -#define	alt_malloc(a)	kzalloc(a, GFP_KERNEL);
> +#define	alt_malloc(a)	kzalloc(a, GFP_KERNEL)

Ick, really?  That macro should be removed entirely.  Can you redo this
as a 2 patch series, the first for the alt_jtag_io() change, and the
other to remove all users of alt_malloc()?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ