]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Staging: brcm80211: sys: fix some comparison warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Oct 2010 19:28:02 +0000 (12:28 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Oct 2010 19:28:02 +0000 (12:28 -0700)
commita300ce95e49fe079d4ca77370c23ce75db176218
treead18e3b2c864687d18fe02d234a4d50f6b436a98
parent697d600d8fa9d383626041a8dde86555fb758b76
Staging: brcm80211: sys: fix some comparison warnings

Use min_t() instead of min() in some places to make the
comparison explicit and resolve some compiler warnings.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/sys/wlc_channel.c
drivers/staging/brcm80211/sys/wlc_mac80211.c