From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from sabertooth01.qualcomm.com ([65.197.215.72]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XSBFm-0002AP-2i for ath10k@lists.infradead.org; Thu, 11 Sep 2014 20:46:06 +0000 From: Kalle Valo Subject: Re: [PATCH v3] ath10k: fix debugfs_create_dir() checking References: <1409827005-3777-1-git-send-email-michal.kazior@tieto.com> Date: Thu, 11 Sep 2014 23:45:29 +0300 In-Reply-To: <1409827005-3777-1-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Thu, 4 Sep 2014 12:36:45 +0200") Message-ID: <87r3zh28eu.fsf@kamboji.qca.qualcomm.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Michal Kazior Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Michal Kazior writes: > The function may return an -ENODEV if debugfs is > disabled in kernel. This should originally be > guarded by ath10k's Kconfig but it still makes > sense to check for the non-NULL errno return > value. > [...] > Reported-by: Matteo Croce > Signed-off-by: Michal Kazior Thanks, applied. -- Kalle Valo _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k