[PATCH v3] ath10k: fix debugfs_create_dir() checking

Kalle Valo kvalo at qca.qualcomm.com
Thu Sep 11 13:45:29 PDT 2014

Michal Kazior <michal.kazior at tieto.com> 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 <matteo at openwrt.org>
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>

Thanks, applied.

Kalle Valo

More information about the ath10k mailing list