projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14e285f
)
MLK-18001 wireless: bcmdhd_1363: fix the build warning with [-Wpointer-compare]
author
Andy Duan
<fugang.duan@nxp.com>
Wed, 25 Apr 2018 08:54:26 +0000
(16:54 +0800)
committer
Andy Duan
<fugang.duan@nxp.com>
Fri, 27 Apr 2018 03:55:55 +0000
(11:55 +0800)
Fix the build warning with [-Wpointer-compare] parameters.
Reviewed-by: Bough Chen <haibo.chen@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit:
414b9eb9d5dd309988e409698ae4173967305a74
)
drivers/net/wireless/bcmdhd_1363/dhd_common.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcmdhd_1363/dhd_common.c
b/drivers/net/wireless/bcmdhd_1363/dhd_common.c
index
485ea9a
..
79226f8
100644
(file)
--- a/
drivers/net/wireless/bcmdhd_1363/dhd_common.c
+++ b/
drivers/net/wireless/bcmdhd_1363/dhd_common.c
@@
-2906,7
+2906,7
@@
dhd_pktfilter_offload_set(dhd_pub_t * dhd, char *arg)
htod16(WL_PKT_FILTER_MFLAG_NEG);
(argv[i])++;
}
- if (argv[i] == '\0') {
+ if (
*
argv[i] == '\0') {
printf("Pattern not provided\n");
goto fail;
}