Re: [PATCH v2 2/3] lib/vsprintf: Split out sprintf() and friends

From: Andy Shevchenko
Date: Sat Aug 05 2023 - 17:32:11 EST


On Sat, Aug 05, 2023 at 11:43:04AM -0700, Andrew Morton wrote:
> On Sat, 5 Aug 2023 20:50:26 +0300 Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> > kernel.h is being used as a dump for all kinds of stuff for a long time.
> > sprintf() and friends are used in many drivers without need of the full
> > kernel.h dependency train with it.
>
> There seems little point in this unless someone signs up to convert
> lots of code to include sprintf.h instead of kernel.h?
>
> And such conversions will presumably cause all sorts of nasties
> which require additional work?
>
> So... what's the plan here?

My main plan is to clean _headers_ from kernel.h.
The rest of the code may do that gradually.

--
With Best Regards,
Andy Shevchenko