Re: [PATCH v2] binfmt_elf: Fix fill_prstatus() call in fill_note_info()

2021-01-06 Thread Al Viro
On Wed, Jan 06, 2021 at 08:51:12AM +0100, Geert Uytterhoeven wrote: > On m68k, which does not define CORE_DUMP_USE_REGSET: > > fs/binfmt_elf.c: In function ‘fill_note_info’: > fs/binfmt_elf.c:2040:20: error: passing argument 1 of ‘fill_prstatus’ > from incompatible pointer type [-Werror=i

[PATCH v2] binfmt_elf: Fix fill_prstatus() call in fill_note_info()

2021-01-05 Thread Geert Uytterhoeven
On m68k, which does not define CORE_DUMP_USE_REGSET: fs/binfmt_elf.c: In function ‘fill_note_info’: fs/binfmt_elf.c:2040:20: error: passing argument 1 of ‘fill_prstatus’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2040 | fill_prstatus(info->prstatus, current,