diff options
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvfc.h | 2 |
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 | ||