mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jules Maselbas <jmaselbas@zdiv.net>
To: barebox@lists.infradead.org
Cc: Jules Maselbas <jmaselbas@zdiv.net>
Subject: [PATCH] scripts: include: rename printk.h to printf.h
Date: Wed,  5 Feb 2025 11:25:49 +0100	[thread overview]
Message-ID: <20250205102549.27015-1-jmaselbas@zdiv.net> (raw)

The include scripts/include/asm-generic/bug.h relied on a printk.h
compatible header which is located in the scripts/include/ and was
not updated when printk.h was renamed to printf.h.

Fixes: d8ea946bcf ("include: rename printk.h to printf.h")
Signed-off-by: Jules Maselbas <jmaselbas@zdiv.net>
---
 scripts/include/{printk.h => printf.h} | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
 rename scripts/include/{printk.h => printf.h} (54%)

diff --git a/scripts/include/printk.h b/scripts/include/printf.h
similarity index 54%
rename from scripts/include/printk.h
rename to scripts/include/printf.h
index 363d32f2e5..2ce99c2fa8 100644
--- a/scripts/include/printk.h
+++ b/scripts/include/printf.h
@@ -1,9 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef __PRINTK_H
-#define __PRINTK_H
+#ifndef __PRINTF_H
+#define __PRINTF_H
 
 #include <stdio.h>
 
-#define printk printf
-
 #endif
-- 
2.48.1




             reply	other threads:[~2025-02-05 10:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-05 10:25 Jules Maselbas [this message]
2025-02-07  8:27 ` 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=20250205102549.27015-1-jmaselbas@zdiv.net \
    --to=jmaselbas@zdiv.net \
    --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