]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: sd: Fix typo in sd_first_printk()
authorDietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Tue, 5 Feb 2019 10:10:48 +0000 (11:10 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Feb 2019 03:33:00 +0000 (22:33 -0500)
commit1ee5a268218ebc11f9d8c9fafd4025cd3750b405
tree06184461744a331cfcb2eb69624b996006f04a90
parent426541de75179d0af9896c4623176d9d4cef051b
scsi: sd: Fix typo in sd_first_printk()

Commit 0c868d45fe7eb ("[SCSI] sd: Quiesce mode sense error messages")
added the macro sd_first_printk(). The macro takes "sdsk" as argument
but dereferences "sdkp". This hasn't caused any real issues since all
callers of sd_first_printk() have an sdkp. But fix the typo.

[mkp: Turned this into a real patch and tweaked commit description]

Signed-off-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd.h