linux-stable/arch/alpha/boot
Al Viro 0305bf6af0 alpha/boot/tools/objstrip: fix the check for ELF header
[ Upstream commit 1878787797 ]

Just memcmp() with ELFMAG - that's the normal way to do it in userland
code, which that thing is.  Besides, that has the benefit of actually
building - str_has_prefix() is *NOT* present in <string.h>.

Fixes: 5f14596e55 "alpha: Replace strncmp with str_has_prefix"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:39:35 +01:00
..
tools alpha/boot/tools/objstrip: fix the check for ELF header 2023-03-10 09:39:35 +01:00
Makefile kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
bootloader.lds
bootp.c alpha: Remove space between * and parameter name 2021-07-25 22:33:04 -07:00
bootpz.c alpha: fix typos in a comment 2021-07-25 22:33:03 -07:00
head.S
main.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
misc.c alpha: fix spelling mistakes 2021-07-25 22:33:04 -07:00
stdio.c