Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] git-netdev-all-ieee80211_get_payload-warning-fix

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>

authored by

Andrew Morton and committed by
Jeff Garzik
cea00da3 c5b42f34

+1 -1
+1 -1
include/net/ieee80211.h
··· 1042 1042 case IEEE80211_4ADDR_LEN: 1043 1043 return ((struct ieee80211_hdr_4addr *)hdr)->payload; 1044 1044 } 1045 - 1045 + return NULL; 1046 1046 } 1047 1047 1048 1048 static inline int ieee80211_is_ofdm_rate(u8 rate)