Re: [PATCH] dma: debug: no need to check return value of debugfs_create functions

From: Christoph Hellwig
Date: Fri Feb 01 2019 - 04:04:06 EST


On Tue, Jan 22, 2019 at 07:48:47PM +0100, Greg Kroah-Hartman wrote:
> > Does this actually need to be at file scope, or could it be punted to a
> > local in dma_debug_fs_init() while we're here?
>
> It can be moved to the function scope if you want me to, I was trying to
> do the least needed here :)

I've folded the scope move in when applying the patch to the
dma-mapping for-next tree.

Thanks!