From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755465AbbINL4s (ORCPT ); Mon, 14 Sep 2015 07:56:48 -0400 Received: from mout.web.de ([212.227.17.12]:55656 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754162AbbINL4k (ORCPT ); Mon, 14 Sep 2015 07:56:40 -0400 Subject: Re: [PATCH 00/39] drop null test before destroy functions To: Julia Lawall , kernel-janitors@vger.kernel.org References: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> Cc: iommu@lists.linux-foundation.org, dccp@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, ecryptfs@vger.kernel.org, dmaengine@vger.kernel.org, sergey.senozhatsky@gmail.com, Dan Williams , cluster-devel@redhat.com, intel-wired-lan@lists.osuosl.org, Mitch Williams , John Ronciak , Matthew Vick , Don Skidmore , Carolyn Wyborny , Shannon Nelson , Jesse Brandeburg , linux-nfs@vger.kernel.org, linux-raid@vger.kernel.org, netdev@vger.kernel.org, linux-atm-general@lists.sourceforge.net, linux-btrfs@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-usb@vger.kernel.org, linux-ext4@vger.kernel.org, linux-rdma@vger.kernel.org, devel@driverdev.osuosl.org, HPDD-discuss@ml01.01.org, linux-bcache@vger.kernel.org, drbd-user@lists.linbit.com, ocfs2-devel@oss.oracle.com, kvm@vger.kernel.org, ceph-devel@vger.kernel.org, Chao Yu , linux-f2fs-devel@lists.sourceforge.net From: SF Markus Elfring X-Enigmail-Draft-Status: N1110 Message-ID: <55F6B59A.4040104@users.sourceforge.net> Date: Mon, 14 Sep 2015 13:55:06 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Ji6bSoRXcaF+djiAh0gTfd1iAuowchgKVDdeyC1zdm1rEx2cUJs 45wUAXadxDuTvbF/An7XnahS7tAqkA7pvsZ5N3mB1hCpD5vDCHtj80GlvTJfFs8QRzppdzy TgDGrLND3ycCEQE6LCA0dhuqNs9sfe2cfdNIM2MN/9KoaysqDcZpafONE7Pfqcjy2hgKYV+ ftj/GLxcDiK5wETMD2IyQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:NPS2TINmR5M=:SWY6/QWXDtLiFGmWW8r6Hj VstX9rAbLzSix+83T37Xh2S8F1sgnuS/06foDubeUYD4WJuYX4Pbhap6hJIMEvgonLQJD6qAL mjYQBmQ0PDIuCErOXgZlhGmoh55RG831+QmCawgesZjOpqwP/pfJ6wrGZJyPGT3uGmB+1xzpW HYKQq/66V7dxdhKnU8+ADIraYPSnfzXN6GJGvgLHdCt6SPVwm4LjXSWTAPlQiM/r9fgmBk75S gx5y9ce44HpqNrWWKlTdGr/0QAxeSh6/u3I4ds2xMCqH8l2Fn0b6yVhetnG9vmMvAzZDuUXSe KxC95fsHg9kQWrhwSwliCV+KUJjVL98WK1bR0pW01IAPVJamAdO+5f9p7Qx5pmCZ373qRvZCR DFB9GR7IncrzQ7bCzWDWiSqqZE6ah8DlrYtyMOxekIj3QzBNv9z4SHcTmyyIHqoiGXiIB6cxy yQzZSifJhGHnR1al234a5BvEo6pqIaTUA8Uo9g/jr2doRNkxcyszOwd5J1/sKjbyFdr73R9sM fALi8qKaFK7DcM6FHSICtO5EaW7F0sFl4+2MaygsSQ79tAznYCooEQXxYAuWMkycYEDyhcxYh 5WToPz2rpHEGIUetaZ49VcsCSo2D1IuG+Wsd5tdkD1SQPQPp40mpe1hsoozerY+4QEGBEIg4L 3KwU4XOy39t6m0pDq/GxuwLDVMsrWYAzvt6RyhXPVUJMdW3Li+MgbiVi9LNkue8BvTwBdmaOd Ji7ZoMeP7O1Ddh/wi6VQkntZyoNTV5jDGC0Iug== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout.web.de ([212.227.17.12]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZbSN1-0000xT-VJ for linux-mtd@lists.infradead.org; Mon, 14 Sep 2015 11:56:28 +0000 Subject: Re: [PATCH 00/39] drop null test before destroy functions To: Julia Lawall , kernel-janitors@vger.kernel.org References: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> Cc: iommu@lists.linux-foundation.org, dccp@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, ecryptfs@vger.kernel.org, dmaengine@vger.kernel.org, sergey.senozhatsky@gmail.com, Dan Williams , cluster-devel@redhat.com, intel-wired-lan@lists.osuosl.org, Mitch Williams , John Ronciak , Matthew Vick , Don Skidmore , Carolyn Wyborny , Shannon Nelson , Jesse Brandeburg , linux-nfs@vger.kernel.org, linux-raid@vger.kernel.org, netdev@vger.kernel.org, linux-atm-general@lists.sourceforge.net, linux-btrfs@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-usb@vger.kernel.org, linux-ext4@vger.kernel.org, linux-rdma@vger.kernel.org, devel@driverdev.osuosl.org, HPDD-discuss@lists.01.org, linux-bcache@vger.kernel.org, drbd-user@lists.linbit.com, ocfs2-devel@oss.oracle.com, kvm@vger.kernel.org, ceph-devel@vger.kernel.org, Chao Yu , linux-f2fs-devel@lists.sourceforge.net From: SF Markus Elfring Message-ID: <55F6B59A.4040104@users.sourceforge.net> Date: Mon, 14 Sep 2015 13:55:06 +0200 MIME-Version: 1.0 In-Reply-To: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Subject: Re: [PATCH 00/39] drop null test before destroy functions Date: Mon, 14 Sep 2015 13:55:06 +0200 Message-ID: <55F6B59A.4040104@users.sourceforge.net> References: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> Sender: ecryptfs-owner@vger.kernel.org To: Julia Lawall , kernel-janitors@vger.kernel.org Cc: iommu@lists.linux-foundation.org, dccp@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, ecryptfs@vger.kernel.org, dmaengine@vger.kernel.org, sergey.senozhatsky@gmail.com, Dan Williams , cluster-devel@redhat.com, intel-wired-lan@lists.osuosl.org, Mitch Williams , John Ronciak , Matthew Vick , Don Skidmore , Carolyn Wyborny , Shannon Nelson , Jesse Brandeburg , linux-nfs@vger.kernel.org, linux-raid@vger.kernel.org, netdev@vger.kernel.org, linux-atm-general@lists.sourceforge.net, linux-btrfs@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-usb@vger.kernel.orglinux List-Id: iommu@lists.linux-foundation.org > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Subject: Re: [PATCH 00/39] drop null test before destroy functions Date: Mon, 14 Sep 2015 13:55:06 +0200 Message-ID: <55F6B59A.4040104@users.sourceforge.net> References: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Cc: iommu@lists.linux-foundation.org, dccp@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, ecryptfs@vger.kernel.org, dmaengine@vger.kernel.org, sergey.senozhatsky@gmail.com, Dan Williams , cluster-devel@redhat.com, intel-wired-lan@lists.osuosl.org, Mitch Williams , John Ronciak , Matthew Vick , Don Skidmore , Carolyn Wyborny , Shannon Nelson , Jesse Brandeburg , linux-nfs@vger.kernel.org, linux-raid@vger.kernel.org, netdev@vger.kernel.org, linux-atm-general@lists.sourceforge.net, linux-btrfs@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-usb@vger.kernel.org, linux To: Julia Lawall , kernel-janitors@vger.kernel.org Return-path: In-Reply-To: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> Sender: ecryptfs-owner@vger.kernel.org List-Id: netdev.vger.kernel.org > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Mon, 14 Sep 2015 11:55:06 +0000 Subject: Re: [PATCH 00/39] drop null test before destroy functions Message-Id: <55F6B59A.4040104@users.sourceforge.net> List-Id: References: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> In-Reply-To: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julia Lawall , kernel-janitors@vger.kernel.org Cc: iommu@lists.linux-foundation.org, dccp@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, ecryptfs@vger.kernel.org, dmaengine@vger.kernel.org, sergey.senozhatsky@gmail.com, Dan Williams , cluster-devel@redhat.com, intel-wired-lan@lists.osuosl.org, Mitch Williams , John Ronciak , Matthew Vick , Don Skidmore , Carolyn Wyborny , Shannon Nelson , Jesse Brandeburg , linux-nfs@vger.kernel.org, linux-raid@vger.kernel.org, netdev@vger.kernel.org, linux-atm-general@lists.sourceforge.net, linux-btrfs@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-usb@vger.kernel.orglinux > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Mon, 14 Sep 2015 13:55:06 +0200 Subject: [Intel-wired-lan] [PATCH 00/39] drop null test before destroy functions In-Reply-To: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> References: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> Message-ID: <55F6B59A.4040104@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: > 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 at 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Mon, 14 Sep 2015 13:55:06 +0200 Subject: [Cluster-devel] [PATCH 00/39] drop null test before destroy functions In-Reply-To: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> References: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> Message-ID: <55F6B59A.4040104@users.sourceforge.net> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > 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 at 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Mon, 14 Sep 2015 11:55:06 +0000 Subject: Re: [PATCH 00/39] drop null test before destroy functions Message-Id: <55F6B59A.4040104@users.sourceforge.net> List-Id: References: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> In-Reply-To: <1442146532-9100-1-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: dccp@vger.kernel.org > 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