• Johannes Berg's avatar
    cfg80211: work around a sparse issue · 11a2a357
    Johannes Berg authored
    sparse reports:
    net/wireless/util.c:499:30: error: cannot size expression
    net/wireless/util.c:503:30: error: cannot size expression
    
    This is evidently due to the EXPORT_SYMBOL() of the
    bridge_tunnel_header and rfc1042 header variables.
    Move them to the end of the file to work around the
    sparse issue. The error itself from sparse can be
    ignored safely, but since sparse stops parsing at
    errors, other issues after this would go undetected.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    11a2a357
util.c 25.8 KB