Staging: rtl8192u: ieee80211: Replace <asm/errno.h> with <linux/errno.h>
PATCH 1/1 Staging: rtl8192u: ieee80211: Replace <asm/errno.h> with <linux/errno.h>
This patch fixes the following checkpatch.pl warning:
Use #include <linux/errno.h> instead of <asm/errno.h>
Signed-off-by Ksenija Stanojevic <[email protected]>
--- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c +1 -1
@@ -16,7 +16,7 @@#include <linux/init.h> #include <linux/slab.h> #include <linux/string.h> -#include <asm/errno.h> +#include <linux/errno.h> #include "ieee80211.h"
Signature · 1 line
1.9.1
Quoted 14 lines · Ksenija Stanojevic
This patch fixes the following checkpatch.pl warning:
Use #include <linux/errno.h> instead of <asm/errno.h>Signed-off-by Ksenija Stanojevic <[email protected]>--- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c +0
-0
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c line 22
Quoted 8 lines
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c +1
-1@@ -16,7 +16,7 @@#include <linux/init.h> #include <linux/slab.h> #include <linux/string.h> -#include <asm/errno.h> +#include <linux/errno.h> #include "ieee80211.h"
Patch is correct, but you should write a commit message instead of just pasting in the checkpatch message.
Simply saying - "asm/errno.h should not be included directly" would suffice.
Cheers,
Jes