[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260119204151.1447503-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 19 Jan 2026 21:38:37 +0100
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Christian Brauner <brauner@...nel.org>,
Petr Mladek <pmladek@...e.com>,
linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Cc: Al Viro <viro@...iv.linux.org.uk>,
Jan Kara <jack@...e.cz>,
Steven Rostedt <rostedt@...dmis.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Andrew Morton <akpm@...ux-foundation.org>,
David Disseldorp <ddiss@...e.de>
Subject: [PATCH v1 0/4] initramfs: get rid of custom hex2bin()
The series that introduced simple_strntoul() had passed into kernel
without proper review and hence reinvented a wheel that's not needed.
Here is the refactoring to show that. This is assumed to go via PRINTK
tree.
I have tested this on x86, but I believe the same result will be
on big-endian CPUs (I deduced that from how strtox() works).
Andy Shevchenko (4):
initramfs: Sort headers alphabetically
initramfs: Refactor to use hex2bin() instead of custom approach
vsprintf: Revert "add simple_strntoul"
kstrtox: Drop extern keyword in the simple_strtox() declarations
include/linux/kstrtox.h | 9 +++----
init/initramfs.c | 60 ++++++++++++++++++++++-------------------
lib/vsprintf.c | 7 -----
3 files changed, 36 insertions(+), 40 deletions(-)
--
2.50.1
Powered by blists - more mailing lists