From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [PATCH] acpi: no need to check return value of debugfs_create functions Date: Tue, 22 Jan 2019 16:40:10 +0100 Message-ID: <20190122154010.GA19652@kroah.com> References: <20190122152151.16139-4-gregkh@linuxfoundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: Linux Kernel Mailing List , "Rafael J. Wysocki" , Len Brown , Tony Luck , Borislav Petkov , Yangtao Li , ACPI Devel Maling List List-Id: linux-acpi@vger.kernel.org On Tue, Jan 22, 2019 at 04:28:42PM +0100, Rafael J. Wysocki wrote: > On Tue, Jan 22, 2019 at 4:27 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: "Rafael J. Wysocki" > > Cc: Len Brown > > Cc: Tony Luck > > Cc: Borislav Petkov > > Cc: Yangtao Li > > Cc: linux-acpi@vger.kernel.org > > Signed-off-by: Greg Kroah-Hartman > > Acked-by: Rafael J. Wysocki > > Or do you want me to take this? It's up to you, I can take it, or you can, either is fine with me :) greg k-h