Hi,

commit b2bff6ceb61a9 added the macro sd_first_printk().
It seems there is a copy error:

diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h
index 7f43e6839bce..cce0e96191e7 100644
--- a/drivers/scsi/sd.h
+++ b/drivers/scsi/sd.h
@@ -132,7 +132,7 @@ static inline struct scsi_disk *scsi_disk(struct gendisk 
*disk)
 
 #define sd_first_printk(prefix, sdsk, fmt, a...)                       \
        do {                                                            \
-               if ((sdkp)->first_scan)                                 \
+               if ((sdsk)->first_scan)                                 \
                        sd_printk(prefix, sdsk, fmt, ##a);              \
        } while (0)
 
Dietmar.

Reply via email to