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]
Message-ID: <a8e96899bf9d42998a848e97951df26f@tnode.com>
Date:	Tue, 23 Feb 2016 00:37:14 +0000
From:	Andrej Krpic <ak77@...de.com>
To:	Joe Perches <joe@...ches.com>
Cc:	<linux-kernel@...r.kernel.org>, <jslaby@...e.com>,
	<gregkh@...uxfoundation.org>
Subject: Re: [PATCH 1/8] tty: n_gsm: fix formatting errors

On 21.02.2016 22:30, Joe Perches wrote:
> On Sun, 2016-02-21 at 22:38 +0100, Andrej Krpic wrote:
>> Minor formatting changes to remove errors and reduce number of
>> warnings produced by checkpatch.pl script.
> []
>> diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c
> []
>> @@ -489,7 +490,8 @@ static void gsm_print_packet(const char *hdr, 
>> int addr, int cr,
>>  		if (!(control & 0x01)) {
>>  			pr_cont("I N(S)%d N(R)%d",
>>  				(control & 0x0E) >> 1, (control & 0xE0) >> 5);
>> -		} else switch (control & 0x0F) {
>> +		} else
>> +			switch (control & 0x0F) {
>
> Please follow the brace rule for else uses where
> if one branch has braces, the other does too.

Thank you for noticing.

Should I resend this as a single patch or wait for more comments for v2 
series?


-Andrej

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ