Re: [PATCH v2 1/3] coccinelle: also catch kzfree() issues

From: Michal Marek
Date: Tue Jun 21 2016 - 06:03:52 EST


Dne 20.6.2016 v 22:21 Julia Lawall napsal(a):
>
>
> On Mon, 20 Jun 2016, Michal Marek wrote:
>
>> On 2016-05-23 17:18, Julia Lawall wrote:
>>>
>>>
>>> On Mon, 23 May 2016, Yann Droneaud wrote:
>>>
>>>> Since commit 3ef0e5ba4673 ('slab: introduce kzfree()'),
>>>> kfree() is no more the only function to be considered:
>>>> kzfree() should be recognized too.
>>>>
>>>> In particular, kzfree() must not be called on memory
>>>> allocated through devm_*() functions.
>>>>
>>>> Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
>>>> Signed-off-by: Yann Droneaud <ydroneaud@xxxxxxxxxx>
>>>
>>> Acked-by: Julia Lawall <julia.lawall@xxxxxxx>
>>
>> Hi Julia,
>>
>> does your ACK apply to the other two patches as well?
>
> Sorry, I seem to have missed the other two. I have reviewed them now, and
> the ack applies to all three. Thanks for checking on it.

Np. Applied to kbuild.git#misc now.

Michal