Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



W dniu 17 października 2011 16:27 użytkownik Michael Büsch <m@xxxxxxx> napisał:
> On Sun, 16 Oct 2011 23:30:49 +0200
> Rafał Miłecki <zajec5@xxxxxxxxx> 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ł
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux