[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <63fd2783-ad78-db4f-2c5c-4c6bd1736d0b@hachti.de>
Date: Wed, 17 May 2017 13:45:28 +0200
From: Philipp Hachtmann <hachti@...hti.de>
To: Fabian Frederick <fabf@...net.be>,
Alexander Viro <viro@...iv.linux.org.uk>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH linux-next] fs: remove void * casting in init_once()
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@...net.be>
> ---
I like that patch.
Powered by blists - more mailing lists