From: Li kunyu <kunyu@nfschina.com>
To: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
Li kunyu <kunyu@nfschina.com>
Subject: [PATCH 4.19] scsi: sd: Fix 'sdkp' in sd_first_printk
Date: Thu, 13 Oct 2022 10:34:38 +0800 [thread overview]
Message-ID: <20221013023438.3263-1-kunyu@nfschina.com> (raw)
In the sd_first_printk macro, replace the sdkp parameter with the
defined sdsk parameter to resolve the compilation error.
Signed-off-by: Li kunyu <kunyu@nfschina.com>
---
drivers/scsi/sd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h
index a7d4f50b67d4..e5bdf0a10071 100644
--- a/drivers/scsi/sd.h
+++ b/drivers/scsi/sd.h
@@ -133,7 +133,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)
--
2.18.2
next reply other threads:[~2022-10-13 2:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-13 2:34 Li kunyu [this message]
2022-10-13 3:54 ` Damien Le Moal
2022-10-13 4:49 ` Li kunyu
2022-10-13 6:26 ` Jason Yan
2022-10-13 6:39 ` Damien Le Moal
2022-10-13 7:02 ` Jason Yan
2022-10-13 7:14 ` Damien Le Moal
2022-10-13 7:39 ` Li kunyu
2022-10-13 7:52 ` Damien Le Moal
2022-10-13 8:37 ` Li kunyu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221013023438.3263-1-kunyu@nfschina.com \
--to=kunyu@nfschina.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®