lkml.org 
[lkml]   [2023]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: + 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


\
 
 \ /
  Last update: 2023-08-15 16:40    [W:0.049 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site