diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-03-31 09:57:34 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-21 10:32:46 +0300 |
| commit | ec03d259f67bab506dc176a661210a3ee15e31b6 (patch) | |
| tree | 6e7054fb358812421f70b8417c11bbec1957d5e0 /scripts/decode_stacktrace.sh | |
| parent | a4d6170e86c72fad45257e189bbd901f64dfb40a (diff) | |
| download | linux-ec03d259f67bab506dc176a661210a3ee15e31b6.tar.xz | |
initramfs: Refactor to use hex2bin() instead of custom approach
There is a simple_strntoul() function used solely as a shortcut
for hex2bin() with proper endianess conversions. Replace that
and drop the unneeded function in the next changes.
This implementation will abort if we fail to parse the cpio header,
instead of using potentially bogus header values.
Co-developed-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260331070519.5974-5-ddiss@suse.de
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions
