Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1163105

Re: [PATCH V2] checkpatch: Add some <foo>_destroy functions to NEEDLESS_IF tests

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH V2] checkpatch: Add some <foo>_destroy functions to NEEDLESS_IF tests
Date 2015-06-11 12:00 +0200
Message-ID <pA7rc-1YG-5@gated-at.bofh.it> (permalink)
References (1 earlier) <pzzfQ-246-17@gated-at.bofh.it> <pzBKF-5SF-5@gated-at.bofh.it> <pzFXY-3D3-7@gated-at.bofh.it> <pzHdo-5n1-1@gated-at.bofh.it> <pA7hw-1Na-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On (06/11/15 11:41), Julia Lawall wrote:
> On Tue, 9 Jun 2015, Joe Perches wrote:
> 
> > Sergey Senozhatsky has modified several destroy functions that can
> > now be called with NULL values.
> >
> >  - kmem_cache_destroy()
> >  - mempool_destroy()
> >  - dma_pool_destroy()
> 
> I don't actually see any null test in the definition of dma_pool_destroy,
> in the linux-next 54896f27dd5 (20150610).  So I guess it would be
> premature to send patches to remove the null tests.
> 

yes,

Andrew Morton:
: I'll park these patches until after 4.1 is released - it's getting to
: that time...


	-ss
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH V2] checkpatch: Add some <foo>_destroy functions to  NEEDLESS_IF tests Julia Lawall <julia.lawall@lip6.fr> - 2015-06-11 11:50 +0200
  Re: [PATCH V2] checkpatch: Add some <foo>_destroy functions to  NEEDLESS_IF tests Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2015-06-11 12:00 +0200
    Re: [PATCH V2] checkpatch: Add some <foo>_destroy functions to  NEEDLESS_IF tests Julia Lawall <julia.lawall@lip6.fr> - 2015-06-11 12:00 +0200

csiph-web