summary refs log tree commit diff
path: root/drivers/media/usb/uvc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2023-01-09 00:14:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-10 09:33:30 +0100
commit9b1f0df649467fbaf03deec4ec52d8d0b9d46df0 (patch)
treed5b86394ae52bd90dc18962b013f5dc14c877963 /drivers/media/usb/uvc
parentfe4dd80d58ec5633daf5d50671d1341f738508bf (diff)
downloadlinux-9b1f0df649467fbaf03deec4ec52d8d0b9d46df0.tar.gz
alpha/boot/tools/objstrip: fix the check for ELF header
[ Upstream commit 1878787797cbb019eeefe6f905514dcd557302b6 ]

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: 5f14596e55de "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>
Diffstat (limited to 'drivers/media/usb/uvc')
0 files changed, 0 insertions, 0 deletions