mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] linux/printk.h: fix typos
@ 2025-03-20 11:05 Sascha Hauer
  2025-03-20 12:06 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2025-03-20 11:05 UTC (permalink / raw)
  To: Barebox List

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] linux/printk.h: fix typos
  2025-03-20 11:05 [PATCH] linux/printk.h: fix typos Sascha Hauer
@ 2025-03-20 12:06 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-03-20 12:06 UTC (permalink / raw)
  To: Barebox List, Sascha Hauer


On Thu, 20 Mar 2025 12:05:21 +0100, Sascha Hauer wrote:
> Fix typos in dev_*_once macros to make them usable.
> 
> 

Applied, thanks!

[1/1] linux/printk.h: fix typos
      https://git.pengutronix.de/cgit/barebox/commit/?id=60ea85061eac (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-20 12:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-20 11:05 [PATCH] linux/printk.h: fix typos Sascha Hauer
2025-03-20 12:06 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox