History log of /linux-master/scripts/coccinelle/free/ifnulldev_put.cocci
Revision Date Author Comments
# 18c06cf8 16-Jul-2022 Julia Lawall <Julia.Lawall@inria.fr>

coccinelle: free: add version constraint

The various functions contain a NULL check starting in v5.15.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>


# bbd5c968 15-Jun-2022 Ziyang Xuan <william.xuanziyang@huawei.com>

scripts/coccinelle/free: add NULL test before dev_{put, hold} functions

Since commit b37a46683739 ("netdevice: add the case if dev is NULL"),
NULL check before dev_{put, hold} functions is not needed.

Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>