linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] scsi: ses: Fix space before '[' and remove error check
@ 2017-11-11 15:16 Arvind Yadav
  2017-11-11 15:16 ` [PATCH 1/2] scsi: ses: Fix space before '[' error Arvind Yadav
  2017-11-11 15:16 ` [PATCH 2/2] scsi: ses: Remove unnecessary error check Arvind Yadav
  0 siblings, 2 replies; 5+ messages in thread
From: Arvind Yadav @ 2017-11-11 15:16 UTC (permalink / raw)
  To: arnd, gregkh; +Cc: linux-kernel

Fix checkpatch.pl error:
ERROR: space prohibited before open square bracket '['.

It is not necessary to check return value of class_register.
enclosure_init returns both successful and error value.

Arvind Yadav (2):
  [PATCH 1/2] scsi: ses: Fix space before '[' error.
  [PATCH 2/2] scsi: ses: Remove unnecessary error check

 drivers/misc/enclosure.c | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-29 11:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-11 15:16 [PATCH 0/2] scsi: ses: Fix space before '[' and remove error check Arvind Yadav
2017-11-11 15:16 ` [PATCH 1/2] scsi: ses: Fix space before '[' error Arvind Yadav
2017-11-29 10:45   ` Greg KH
2017-11-11 15:16 ` [PATCH 2/2] scsi: ses: Remove unnecessary error check Arvind Yadav
2017-11-29 10:45   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).