From: Michal Kazior Date: Thu, 4 Sep 2014 10:36:45 +0000 (+0200) Subject: ath10k: fix debugfs_create_dir() checking X-Git-Tag: fixes-against-v3.18-rc2~144^2~39^2~73^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adb43b24ec12a008656dcca831ab835a94261963;p=pandora-kernel.git ath10k: fix debugfs_create_dir() checking 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 Signed-off-by: Kalle Valo --- Reading git-diff-tree failed