Messages in this thread | | | Subject | Re: [PATCH linux-next] fs: remove void * casting in init_once() | From | Philipp Hachtmann <> | Date | Wed, 17 May 2017 13:45:28 +0200 |
| |
On 16.05.2017 20:38, Fabian Frederick wrote: > See Documentation/process/coding-style.rst: > > "Casting the return value which is a void pointer is redundant. The > conversion from void pointer to any other pointer type is guaranteed by the C > programming language." > > This will stop copy/paste cascade warnings. > > Signed-off-by: Fabian Frederick <fabf@skynet.be> > ---
I like that patch.
| |