Messages in this thread | | | Date | Tue, 22 Jan 2019 16:53:14 +0100 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] power: qos: no need to check return value of debugfs_create functions |
| |
On Tue, Jan 22, 2019 at 04:30:38PM +0100, Rafael J. Wysocki wrote: > On Tue, Jan 22, 2019 at 4:25 PM Greg Kroah-Hartman > <gregkh@linuxfoundation.org> 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: "Rafael J. Wysocki" <rjw@rjwysocki.net> > > Cc: Len Brown <len.brown@intel.com> > > Cc: Pavel Machek <pavel@ucw.cz> > > Cc: linux-pm@vger.kernel.org > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > > All of these changes are fine by me and I can take the patches > touching the code maintained by me, so please let me know.
Please take them!
thanks,
greg k-h
| |