Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_USER
From: Denis Efremov
Date: Sat Jul 18 2020 - 09:11:26 EST
Hi,
On 7/18/20 9:45 AM, Julia Lawall wrote:
> This on is indeed a problem. I think it was not detected in testing,
> because in the current kernel the rule never applies. But Denis, in
>
> - to = \(kmalloc\|kzalloc\)
> (size,\(GFP_KERNEL\|GFP_USER\|
> \(GFP_KERNEL\|GFP_USER\)|__GFP_NOWARN\));
>
> you do indeed need to put - in front of the second and third lines as
> well.
Thanks, Markus, Julia. I will send v3. Julia, is it ok with you, if I will
drop the last patch with "selfcheck" this time?
Regards,
Denis