mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] linux/printk.h: fix typos
Date: Thu, 20 Mar 2025 12:05:21 +0100	[thread overview]
Message-ID: <20250320110521.190945-1-s.hauer@pengutronix.de> (raw)

Fix typos in dev_*_once macros to make them usable.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 include/linux/printk.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/printk.h b/include/linux/printk.h
index 469ca879c7..67bdd2dc15 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -92,15 +92,15 @@ static inline int pr_print(int level, const char *format, ...)
 #define dev_crit_once(dev, format, arg...)		\
 	__dev_printf_once(2, (dev) , format , ## arg)
 #define dev_err_once(dev, format, arg...)		\
-	__dev_prin_oncetf(3, (dev) , format , ## arg)
+	__dev_printf_once(3, (dev) , format , ## arg)
 #define dev_warn_once(dev, format, arg...)		\
 	__dev_printf_once(4, (dev) , format , ## arg)
 #define dev_notice_once(dev, format, arg...)		\
-	__dev_printf(_once5, (dev) , format , ## arg)
+	__dev_printf_once(5, (dev) , format , ## arg)
 #define dev_info_once(dev, format, arg...)		\
 	__dev_printf_once(6, (dev) , format , ## arg)
 #define dev_dbg_once(dev, format, arg...)		\
-	__dev_prin_oncetf(7, (dev) , format , ## arg)
+	__dev_printf_once(7, (dev) , format , ## arg)
 #define dev_vdbg_once(dev, format, arg...)		\
 	__dev_printf_once(8, (dev) , format , ## arg)
 
-- 
2.39.5




             reply	other threads:[~2025-03-20 11:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-20 11:05 Sascha Hauer [this message]
2025-03-20 12:06 ` Sascha Hauer

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=20250320110521.190945-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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