Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213928

Re: [PATCH v3 3/3] megaraid_sas : fix whitespace errors

From James Bottomley <James.Bottomley@HansenPartnership.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 3/3] megaraid_sas : fix whitespace errors
Date 2015-08-26 16:40 +0200
Message-ID <q1K1Q-8vu-23@gated-at.bofh.it> (permalink)
References <pJI8a-20t-11@gated-at.bofh.it> <pJI8a-20t-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 2015-07-07 at 15:52 -0500, Bjorn Helgaas wrote:
> Fix whitespace and indentation errors.  No code change.

checkpatch says you missed one:

ERROR: space required after that ',' (ctx:VxV)
#860: FILE: drivers/scsi/megaraid/megaraid_sas_base.c:6457:
+       if (sscanf(buf,"%u",&megasas_dbg_lvl) < 1) {
                      ^

ERROR: space required after that ',' (ctx:VxO)
#860: FILE: drivers/scsi/megaraid/megaraid_sas_base.c:6457:
+       if (sscanf(buf,"%u",&megasas_dbg_lvl) < 1) {
                           ^

ERROR: space required before that '&' (ctx:OxV)
#860: FILE: drivers/scsi/megaraid/megaraid_sas_base.c:6457:
+       if (sscanf(buf,"%u",&megasas_dbg_lvl) < 1) {


I fixed it up

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v3 3/3] megaraid_sas : fix whitespace errors James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-08-26 16:40 +0200

csiph-web