>From e5c943164a981e32d88c7083c84a85ff513bb0ee Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Mon, 3 Nov 2014 08:03:48 +0100 Subject: [PATCH] scsi: define SCSI_LOG_LEVEL SCSI_LOG_LEVEL needs to be defined even if CONFIG_SCSI_LOGGING is not enabled. Reported-by: Stephen Rothwell Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi_logging.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/scsi_logging.h b/drivers/scsi/scsi_logging.h index 1f65139..7fe64a8 100644 --- a/drivers/scsi/scsi_logging.h +++ b/drivers/scsi/scsi_logging.h @@ -51,6 +51,7 @@ do { \ } while (0); \ } while (0) #else +#define SCSI_LOG_LEVEL(SHIFT, BITS) 0 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) #endif /* CONFIG_SCSI_LOGGING */ -- 1.8.4.5