archive mirror
 help / color / mirror / Atom feed
From: Maurizio Lombardi <>
Subject: [PATCH] iscsi_ibft: fix warning in reserve_ibft_region()
Date: Thu,  5 Aug 2021 18:11:50 +0200	[thread overview]
Message-ID: <> (raw)

Use %pa to print a physical address.

Reported-by: kernel test robot <>
Signed-off-by: Maurizio Lombardi <>
 drivers/firmware/iscsi_ibft_find.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/iscsi_ibft_find.c b/drivers/firmware/iscsi_ibft_find.c
index a0594590847d..94b49ccd23ac 100644
--- a/drivers/firmware/iscsi_ibft_find.c
+++ b/drivers/firmware/iscsi_ibft_find.c
@@ -83,7 +83,7 @@ void __init reserve_ibft_region(void)
 				if (pos + len <= (IBFT_END-1)) {
 					ibft_phys_addr = pos;
 					memblock_reserve(ibft_phys_addr, PAGE_ALIGN(len));
-					pr_info("iBFT found at 0x%lx.\n", ibft_phys_addr);
+					pr_info("iBFT found at %pa.\n", &ibft_phys_addr);

                 reply	other threads:[~2021-08-05 16:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).