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:	Mon, 02 May 2016 17:04:51 -0500
From:	mwelling@...e.org
To:	Greg KH <gregkh@...uxfoundation.org>,
	Patryk Mezydlo <mezydlo.p@...il.com>
CC:	lidza.louina@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: dgnc: fix coding style warning in dgnc_cls.c



On May 2, 2016 4:55:05 PM CDT, Greg KH <gregkh@...uxfoundation.org> wrote:
>On Mon, May 02, 2016 at 11:07:15PM +0200, Patryk Mezydlo wrote:
>> This is a patch to the dgnc_cls.c file that fixes up a brace
>> warning found by the checkpatch.pl tool
>> 
>> Signed-off-by: Patryk Mezydlo <mezydlo.p@...il.com>
>> ---
>>  drivers/staging/dgnc/dgnc_cls.c | 5 ++++-
>>  1 file changed, 4 insertions(+), 1 deletion(-)
>> 
>> diff --git a/drivers/staging/dgnc/dgnc_cls.c
>b/drivers/staging/dgnc/dgnc_cls.c
>> index 5e46ac8..f782904 100644
>> --- a/drivers/staging/dgnc/dgnc_cls.c
>> +++ b/drivers/staging/dgnc/dgnc_cls.c
>> @@ -1168,8 +1168,11 @@ static void cls_uart_init(struct channel_t
>*ch)
>>  	/* Clear out UART and FIFO */
>>  	readb(&ch->ch_cls_uart->txrx);
>>  
>> -	writeb((UART_FCR_ENABLE_FIFO | UART_FCR_CLEAR_RCVR |
>UART_FCR_CLEAR_XMIT),
>> +	writeb((UART_FCR_ENABLE_FIFO
>> +		| UART_FCR_CLEAR_RCVR
>> +		| UART_FCR_CLEAR_XMIT),
>>  	       &ch->ch_cls_uart->isr_fcr);
>> +
>
>This isn't a "brace warning" fix.
>
>And why add another blank line?

Patryk,

Please post the checkpatch warning that was output so we can see what exactly was attempted to be corrected. 

Regards,

Michael 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ