Re: [PATCH -next] qlcnic: fix compiler warning

From: David Miller
Date: Mon Jan 13 2014 - 17:46:38 EST


From: Shahed Shaikh <shahed.shaikh@xxxxxxxxxx>
Date: Fri, 10 Jan 2014 07:19:19 +0000

>
> Adding netdev.
>
>> -----Original Message-----
>> From: Martin Kaiser,,, [mailto:martin@xxxxxxxxxxxxxxxxxx] On Behalf Of
>> Martin Kaiser
>> Sent: Thursday, January 09, 2014 9:29 PM
>> To: Himanshu Madhani; Rajesh Borundia
>> Cc: linux-kernel; trivial@xxxxxxxxxx
>> Subject: [PATCH -next] qlcnic: fix compiler warning
>>
>> Add an explicit cast to fix the following warning (seen on Debian Wheezy, gcc
>> 4.7.2)
>>
>> CC [M] drivers/net/wireless/rtlwifi/rtl8192ce/trx.o
>> drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c: In function
>> ʽqlcnic_send_filterʼ:
>> drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c:349:3: warning:
>> passing argument 2 of ʽether_addr_equalʼ from incompatible pointer type
>> [enabled by default]
>> In file included from include/linux/if_vlan.h:16:0,
>> from drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c:9:
>> include/linux/etherdevice.h:244:20: note: expected ʽconst u8 *ʼ but
>> argument is of type ʽu64 *ʼ
>>
>
> If I am not wrong, this patch should go to David's net-next tree.
>
>> Signed-off-by: Martin Kaiser <martin@xxxxxxxxx>
>
> Acked-by: Shahed Shaikh <shahed.shaikh@xxxxxxxxxx>

Please post the original patch to netdev so that it properly gets
queued up in patchwork, thank you very much.
ʼιμΉ»?&ή~Ί&Ά¬?+-±ιέΆ??w??Λ?±Κβmιb?μdzΉή?)ν?ζθw*jg¬±¨Ά????έʼj/?κδzΉή??ΰ2?ή?¨θ­Ϊ&ʼ)ίʽ«aΆΪώψ?G«?ιh?ζj:+v?¨?wθ?Ω?>W?±κήiΫaxPjΨmΆ??Γ -»+?ωd?_