[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55F6B59A.4040104@users.sourceforge.net>
Date: Mon, 14 Sep 2015 13:55:06 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Julia Lawall <Julia.Lawall@...6.fr>,
kernel-janitors@...r.kernel.org
Cc: iommu@...ts.linux-foundation.org, dccp@...r.kernel.org,
dri-devel@...ts.freedesktop.org, intel-gfx@...ts.freedesktop.org,
ecryptfs@...r.kernel.org, dmaengine@...r.kernel.org,
sergey.senozhatsky@...il.com,
Dan Williams <dan.j.williams@...el.com>,
cluster-devel@...hat.com, intel-wired-lan@...ts.osuosl.org,
Mitch Williams <mitch.a.williams@...el.com>,
John Ronciak <john.ronciak@...el.com>,
Matthew Vick <matthew.vick@...el.com>,
Don Skidmore <donald.c.skidmore@...el.com>,
Carolyn Wyborny <carolyn.wyborny@...el.com>,
Shannon Nelson <shannon.nelson@...el.com>,
Jesse Brandeburg <jesse.brandeburg@...el.com>,
linux-nfs@...r.kernel.org, linux-raid@...r.kernel.org,
netdev@...r.kernel.org, linux-atm-general@...ts.sourceforge.net,
linux-btrfs@...r.kernel.org, linux-nilfs@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
linux-usb@...r.kernel.org, linux-ext4@...r.kernel.org,
linux-rdma@...r.kernel.org, devel@...verdev.osuosl.org,
HPDD-discuss@...ts.01.org, linux-bcache@...r.kernel.org,
drbd-user@...ts.linbit.com, ocfs2-devel@....oracle.com,
kvm@...r.kernel.org, ceph-devel@...r.kernel.org,
Chao Yu <chao2.yu@...sung.com>,
linux-f2fs-devel@...ts.sourceforge.net
Subject: Re: [PATCH 00/39] drop null test before destroy functions
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists