[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e80a352987c756e138c20f978c9fa04e773f2211.camel@intel.com>
Date: Fri, 25 Jan 2019 21:30:09 +0200
From: Luciano Coelho <luciano.coelho@...el.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Cc: Johannes Berg <johannes.berg@...el.com>,
Emmanuel Grumbach <emmanuel.grumbach@...el.com>,
Intel Linux Wireless <linuxwifi@...el.com>,
Kalle Valo <kvalo@...eaurora.org>,
linux-wireless@...r.kernel.org
Subject: Re: [PATCH] iwlwifi: pcie: no need to check return value of
debugfs_create functions
On Tue, 2019-01-22 at 16:21 +0100, 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: Johannes Berg <johannes.berg@...el.com>
> Cc: Emmanuel Grumbach <emmanuel.grumbach@...el.com>
> Cc: Luca Coelho <luciano.coelho@...el.com>
> Cc: Intel Linux Wireless <linuxwifi@...el.com>
> Cc: Kalle Valo <kvalo@...eaurora.org>
> Cc: linux-wireless@...r.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> ---
Thanks, Greg! I applied this in our internal tree and it will reach
upstream following our normal upstreaming process.
--
Cheers,
Luca.
Powered by blists - more mailing lists