]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Use less stack to emit logging messages.
authorJoe Perches <joe@perches.ccom>
Fri, 18 Nov 2011 17:03:05 +0000 (09:03 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 15 Dec 2011 06:55:01 +0000 (10:55 +0400)
commitbbe2bc7e6cb19d2ade5885bf84631525d63bf45a
treeb765a9cb01a156e3cd93d40f0e79ab60b02b343e
parent9f39855d1ec0fa37f2cf65b9a0f83e16f77d5e6f
[SCSI] qla2xxx: Use less stack to emit logging messages.

Return early when logging level too low.
Use normal kernel codeing style for function braces.
Add const where appropriate to logging functions.
Remove now unused #define QL_DBG_BUF_LEN.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_dbg.h