aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi/ibmvfc.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2008-10-29 09:46:33 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-29 12:24:12 -0500
commit596891acd774f515c2a43adda9322d6a9b2b51b9 (patch)
tree7854354dd01d865c27c0e4b476801cd49ff865be /drivers/scsi/ibmvscsi/ibmvfc.h
parentfa195afe4ad3f6d85a9b7cc236ae85c05ca8db03 (diff)
[SCSI] ibmvfc: Fix log level filtering
The ibmvfc log level filtering logic was reversed. The log_level scsi host parameter should result in more verbose logs when log_level is larger, not smaller. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvfc.h')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvfc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.h b/drivers/scsi/ibmvscsi/ibmvfc.h
index fb3177ab6691..1d18a4c48a9c 100644
--- a/drivers/scsi/ibmvscsi/ibmvfc.h
+++ b/drivers/scsi/ibmvscsi/ibmvfc.h
@@ -700,7 +700,7 @@ struct ibmvfc_host {
700 700
701#define ibmvfc_log(vhost, level, ...) \ 701#define ibmvfc_log(vhost, level, ...) \
702 do { \ 702 do { \
703 if (level >= (vhost)->log_level) \ 703 if ((vhost)->log_level >= level) \
704 dev_err((vhost)->dev, ##__VA_ARGS__); \ 704 dev_err((vhost)->dev, ##__VA_ARGS__); \
705 } while (0) 705 } while (0)
706 706