projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b42f3
)
[PATCH] git-netdev-all-ieee80211_get_payload-warning-fix
author
Andrew Morton
<akpm@osdl.org>
Wed, 9 Nov 2005 19:30:51 +0000
(11:30 -0800)
committer
Jeff Garzik
<jgarzik@pobox.com>
Fri, 18 Nov 2005 18:33:31 +0000
(13:33 -0500)
include/net/ieee80211.h: In function `ieee80211_get_payload':
include/net/ieee80211.h:1046: warning: control reaches end of non-void function
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
include/net/ieee80211.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/ieee80211.h
b/include/net/ieee80211.h
index b93fd8c1d8847f6488667f60512ee3a9a70bb077..cde2f4f4f501775d968a343d75ec8a2b0859c7e5 100644
(file)
--- a/
include/net/ieee80211.h
+++ b/
include/net/ieee80211.h
@@
-1042,7
+1042,7
@@
static inline u8 *ieee80211_get_payload(struct ieee80211_hdr *hdr)
case IEEE80211_4ADDR_LEN:
return ((struct ieee80211_hdr_4addr *)hdr)->payload;
}
-
+ return NULL;
}
static inline int ieee80211_is_ofdm_rate(u8 rate)