Search Linux Wireless

Re: [PATCH v2 2/4] ath5k: allocate ath5k_hw prior to initializing hw

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

 



On Mon, Sep 14, 2009 at 1:50 AM, Luis R. Rodriguez
<lrodriguez@xxxxxxxxxxx> wrote:
> On Mon, Sep 14, 2009 at 1:45 AM, Jiri Slaby <jirislaby@xxxxxxxxx> wrote:
>> On 09/14/2009 10:32 AM, Luis R. Rodriguez wrote:
>>> --- a/drivers/net/wireless/ath/ath.h
>>> +++ b/drivers/net/wireless/ath/ath.h
>>> @@ -51,7 +51,7 @@ struct ath_common {
>>>       u8 curbssid[ETH_ALEN];
>>>       u8 bssidmask[ETH_ALEN];
>>>       struct ath_regulatory regulatory;
>>> -     struct ath_ops *ops;
>>> +     const struct ath_ops *ops;
>>
>> If I'm looking correctly, this will emit a warning for ath9k.
>
> Hm, I'm using C=1 when compiling and see no warnings even from sparse.

Well, as my tree is now, let me rebase and see how it was back then, I
thought I tested compiled that patch.

  Luis
--
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