Re: [PATCH 09/14] tracing/string: Create and use __free(argv_free) in trace_dynevent.c
From: Steven Rostedt
Date: Fri Dec 20 2024 - 08:31:51 EST
On Fri, 20 Dec 2024 08:56:44 +0200
Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:
> > diff --git a/include/linux/string.h b/include/linux/string.h
> > index 493ac4862c77..c995f973a59a 100644
> > --- a/include/linux/string.h
> > +++ b/include/linux/string.h
> > @@ -10,6 +10,7 @@
> > #include <linux/err.h> /* for ERR_PTR() */
> > #include <linux/errno.h> /* for E2BIG */
> > #include <linux/overflow.h> /* for check_mul_overflow() */
> > +#include <linux/cleanup.h> /* for DEFINE_FREE() */
>
>
>
> Can you keep it ordered?
Not sure what order you want to keep?
>
>
> > #include <linux/stdarg.h>
> > #include <uapi/linux/string.h>
> >
#include <linux/args.h>
#include <linux/array_size.h>
#include <linux/compiler.h> /* for inline */
#include <linux/types.h> /* for size_t */
#include <linux/stddef.h> /* for NULL */
#include <linux/err.h> /* for ERR_PTR() */
#include <linux/errno.h> /* for E2BIG */
#include <linux/overflow.h> /* for check_mul_overflow() */
#include <linux/cleanup.h> /* for DEFINE_FREE() */
#include <linux/stdarg.h>
#include <uapi/linux/string.h>
It's not alphabetical, nor in x-mas tree order. I was never good at these
"find the pattern" puzzles ;-)
-- Steve