[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <672e8d914d7e1ab23bf8a9988b571d6097707ede.camel@intel.com>
Date: Fri, 25 Jan 2019 21:30:20 +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: fw: 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