Thread (11 messages) 11 messages, 6 authors, 2015-09-15

Re: [PATCH 00/39] drop null test before destroy functions

From: SF Markus Elfring <hidden>
Date: 2015-09-14 11:56:48
Also in: ceph-devel, dri-devel, intel-gfx, intel-wired-lan, kernel-janitors, kvm, linux-bcache, linux-btrfs, linux-ext4, linux-f2fs-devel, linux-iommu, linux-nfs, linux-rdma, lkml, netdev

Recent commits to kernel/git/torvalds/linux.git have made the following
functions able to tolerate NULL arguments:

kmem_cache_destroy (commit 3942d29918522)
mempool_destroy (commit 4e3ca3e033d1)
dma_pool_destroy (commit 44d7175da6ea)
How do you think about to extend an other SmPL script?

Related topic:
scripts/coccinelle/free: Delete NULL test before freeing functions
https://systeme.lip6.fr/pipermail/cocci/2015-May/001960.html
https://www.mail-archive.com/cocci@systeme.lip6.fr/msg01855.html

If these changes are OK, I will address the remainder later.
Would anybody like to reuse my general SmPL approach for similar source
code clean-up?

Regards,
Markus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help