[PATCH] fbdev: omap2: no need to check return value of debugfs_create functions

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Fri Feb 8 17:25:09 UTC 2019


On 01/22/2019 04:21 PM, 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.
> 
> Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
> Cc: Mauro Carvalho Chehab <mchehab+samsung at kernel.org>
> Cc: linux-omap at vger.kernel.org
> Cc: linux-fbdev at vger.kernel.org
> Cc: dri-devel at lists.freedesktop.org
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>

Patch queued for v5.1, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics


More information about the dri-devel mailing list