summaryrefslogtreecommitdiffstats
path: root/sound/isa/gus/gus_irq.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-12-10 21:35:46 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-12-11 13:57:26 +0100
commit4c80c7bc583a87ded5f61906f81256b57c795806 (patch)
tree62e3ab6555488373a29752f5fd23cfedbfba8f53 /sound/isa/gus/gus_irq.c
parente49e6f6db04e915dccb494ae10fa14888fea6f89 (diff)
downloadlinux-4c80c7bc583a87ded5f61906f81256b57c795806.tar.bz2
bpf: Fix build in minimal configurations, again
Building with -Werror showed another failure: kernel/bpf/btf.c: In function 'btf_get_prog_ctx_type.isra.31': kernel/bpf/btf.c:3508:63: error: array subscript 0 is above array bounds of 'u8[0]' {aka 'unsigned char[0]'} [-Werror=array-bounds] ctx_type = btf_type_member(conv_struct) + bpf_ctx_convert_map[prog_type] * 2; I don't actually understand why the array is empty, but a similar fix has addressed a related problem, so I suppose we can do the same thing here. Fixes: ce27709b8162 ("bpf: Fix build in minimal configurations") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Martin KaFai Lau <kafai@fb.com> Link: https://lore.kernel.org/bpf/20191210203553.2941035-1-arnd@arndb.de
Diffstat (limited to 'sound/isa/gus/gus_irq.c')
0 files changed, 0 insertions, 0 deletions