Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Wed, 16 Aug 2023 17:33:49 +0200 | Subject | Re: [PATCH 1/2] m68k: define __div64_32() to avoid a warning |
| |
On Wed, Aug 9, 2023 at 11:11 PM Arnd Bergmann <arnd@kernel.org> wrote: > From: Arnd Bergmann <arnd@arndb.de> > > The generic __div64_32() definition is built on all architectures that don't > provide this as a macro. m68k however neither defines nor requires __div64_32, > so it should define an empty one to avoid the warning: > > lib/math/div64.c:31:32: error: no previous prototype for '__div64_32' [-Werror=missing-prototypes] > > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Nice! 142 bytes saved (which do not show up with bloat-o-meter, as it does not count weak symbols; patch sent).
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> i.e. will queue in the m68k for-v6.6 branch.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |