Re: [PATCH] memory: emif: Remove bogus debugfs error handling

2020-08-27 Thread Krzysztof Kozlowski
On Wed, Aug 26, 2020 at 09:52:37AM -0700, santosh.shilim...@oracle.com wrote: > On 8/26/20 4:37 AM, Dan Carpenter wrote: > > Callers are generally not supposed to check the return values from > > debugfs functions. Debugfs functions never return NULL so this error > > handling will never trigger.

Re: [PATCH] memory: emif: Remove bogus debugfs error handling

2020-08-26 Thread santosh . shilimkar
On 8/26/20 4:37 AM, Dan Carpenter wrote: Callers are generally not supposed to check the return values from debugfs functions. Debugfs functions never return NULL so this error handling will never trigger. (Historically debugfs functions used to return a mix of NULL and error pointers but it wa