[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQw+sMpH5eRmw06NmhYwBKRZjVUd-+5+TQceniM=gx+qw@mail.gmail.com>
Date: Tue, 16 Jan 2018 23:33:48 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Himanshu Jha <himanshujha199640@...il.com>
Cc: Julia Lawall <Julia.Lawall@...6.fr>,
Gilles Muller <Gilles.Muller@...6.fr>,
Nicolas Palix <nicolas.palix@...g.fr>,
Michal Marek <michal.lkml@...kovi.net>, cocci@...teme.lip6.fr,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Coccinelle: alloc_cast: Add more memory allocating
functions to the list
2018-01-14 0:56 GMT+09:00 Himanshu Jha <himanshujha199640@...il.com>:
> Add more memory allocating functions that are frequently used in the kernel
> code to the existing list and remove the useless casts where it is
> unnecessary.
>
> But preserve those casts having __attribute__ such as __force, __iomem,
> etc which are used by Sparse in the static analysis of the code.
>
> Also remove two blank lines at EOF.
>
> Signed-off-by: Himanshu Jha <himanshujha199640@...il.com>
> ---
> scripts/coccinelle/api/alloc/alloc_cast.cocci | 92 +++++++++++++++++++++------
> 1 file changed, 71 insertions(+), 21 deletions(-)
Applied to linux-kbuild/misc. Thanks!
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists