Re: [PATCH] omap-iommu: no need to check return value of debugfs_create functions

2019-07-04 Thread Greg Kroah-Hartman
On Thu, Jul 04, 2019 at 05:35:52PM +0200, Joerg Roedel wrote: > On Thu, Jul 04, 2019 at 04:36:49PM +0200, 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 somethin

Re: [PATCH] omap-iommu: no need to check return value of debugfs_create functions

2019-07-04 Thread Joerg Roedel
On Thu, Jul 04, 2019 at 04:36:49PM +0200, 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: Joerg Roedel > Cc: iommu@lists.li

[PATCH] omap-iommu: no need to check return value of debugfs_create functions

2019-07-04 Thread Greg Kroah-Hartman
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: Joerg Roedel Cc: iommu@lists.linux-foundation.org Signed-off-by: Greg Kroah-Hartman --- Warning, not even test