Search Linux Wireless

Re: [PATCH 1/2] compat: avoid warning in compat_system_workqueue_create

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

 



On Fri, Nov 18, 2011 at 11:24 AM, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote:
> On 11/17/2011 01:39 AM, John W. Linville wrote:
>> The check in the WARN_ON is inverted.
>>
> Acked-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
>> Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>
>> ---
>>  compat/compat-2.6.36.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/compat/compat-2.6.36.c b/compat/compat-2.6.36.c
>> index aab25df..fe24da8 100644
>> --- a/compat/compat-2.6.36.c
>> +++ b/compat/compat-2.6.36.c
>> @@ -99,7 +99,7 @@ EXPORT_SYMBOL_GPL(system_nrt_wq);
>>  void compat_system_workqueue_create()
>>  {
>>       system_nrt_wq = create_singlethread_workqueue("events_nrt");
>> -     WARN_ON(system_nrt_wq);
>> +     WARN_ON(!system_nrt_wq);
>>  }
>>
>>  void compat_system_workqueue_destroy()
>
> That was my fault, please apply this patch.

Odd, I thought I had applied this already, sorry for the delay,
applied and pushed, I also applied this patch on the linux-3.2.y
branch, I'll make another stable release based on 3.2 for this as
otherwise people will get these warnings for their backports.

  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