Messages in this thread | | | Date | Tue, 15 Aug 2023 17:39:08 +0300 | From | Andy Shevchenko <> | Subject | Re: + lib-vsprintf-split-out-sprintf-and-friends.patch added to mm-nonmm-unstable branch |
| |
On Tue, Aug 15, 2023 at 05:24:27PM +0300, Alexey Dobriyan wrote: > On Mon, Aug 14, 2023 at 11:37:51AM -0700, Andrew Morton wrote:
...
> > +__scanf(2, 3) int sscanf(const char *, const char *, ...); > > +__scanf(2, 0) int vsscanf(const char *, const char *, va_list); > > I'd suggest to leave scanf alone and rename file to printf.h > Some archs have such files already (printf.c)
if you are talking about these
$ git ls-files */printf.c arch/m68k/sun3/prom/printf.c arch/sparc/prom/printf.c arch/x86/boot/printf.c
they have no business with the main Linux kernel code.
I don't think we need to go that direction.
-- With Best Regards, Andy Shevchenko
| |