acrn-kernel/arch/alpha/boot
Al Viro 9b1f0df649 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:33:30 +01:00
..
tools alpha/boot/tools/objstrip: fix the check for ELF header 2023-03-10 09:33:30 +01:00
Makefile kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
bootloader.lds License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00