[PATCH 3.2 REQUEST] b43: HT-PHY: report signal to mac80211

Rafał Miłecki zajec5 at gmail.com
Mon Oct 17 10:35:55 EDT 2011


W dniu 17 października 2011 16:27 użytkownik Michael Büsch <m at bues.ch> napisał:
> On Sun, 16 Oct 2011 23:30:49 +0200
> Rafał Miłecki <zajec5 at gmail.com> wrote:
>> +     case B43_PHYTYPE_HT:
>> +             /* TODO: is max the right choice? */
>> +             status.signal = max(
>> +                     (__s8) max(rxhdr->phy_ht_power0, rxhdr->phy_ht_power1),
>
> Hm, why is this cast needed? Does it throw a warning?

warning: comparison of distinct pointer types lacks a cast

gcc 4.5.1

-- 
Rafał



More information about the b43-dev mailing list