initramfs: get rid of custom hex2bin()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | initramfs: Sort headers alphabeticallyinit/ | +12 | 0 replies | |
| 2/4 | initramfs: Refactor to use hex2bin() instead of custom approachinit/ | +20 | 5 replies | |
| 3/4 | vsprintf: Revert "add simple_strntoul"include/ lib/ | +0 | 0 replies | |
| 4/4 | kstrtox: Drop extern keyword in the simple_strtox() declarationsinclude/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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(-)
Signature · 1 line
2.50.1