[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <0c09e99e-5cce-5899-d1c6-98791fbd82e0@free.fr>
Date: Thu, 13 Jun 2019 14:37:46 +0200
From: Marc Gonzalez <marc.w.gonzalez@...e.fr>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] msm: no need to check return value of debugfs_create
functions
On 13/06/2019 14:24, Greg Kroah-Hartman wrote:
> When calling debugfs functions, there is no need to ever check the
> return value. The function can work or not, but the code logic should
> never do something different based on this.
Naive question: if callers are supposed to ignore the return value,
why not change the prototype to void (no return value) ?
Regards.
Powered by blists - more mailing lists