Fix or supress various sparse warnings

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg 2017-01-26 13:09:25 +01:00 committed by Jouni Malinen
parent e91877fb62
commit 30eddf3529
5 changed files with 10 additions and 5 deletions

View file

@ -106,7 +106,7 @@ static inline void fst_iface_update_mb_ie(struct fst_iface *i,
const u8 *addr,
const u8 *buf, size_t size)
{
return i->iface_obj.update_mb_ie(i->iface_obj.ctx, addr, buf, size);
i->iface_obj.update_mb_ie(i->iface_obj.ctx, addr, buf, size);
}
static inline const u8 * fst_iface_get_peer_first(struct fst_iface *i,