lkml.org 
[lkml]   [2014]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH -next] qlcnic: fix compiler warning
From
From: Shahed Shaikh <shahed.shaikh@qlogic.com>
Date: Fri, 10 Jan 2014 07:19:19 +0000

>
> Adding netdev.
>
>> -----Original Message-----
>> From: Martin Kaiser,,, [mailto:martin@reykholt.kaiser.cx] On Behalf Of
>> Martin Kaiser
>> Sent: Thursday, January 09, 2014 9:29 PM
>> To: Himanshu Madhani; Rajesh Borundia
>> Cc: linux-kernel; trivial@kernel.org
>> 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@kaiser.cx>
>
> Acked-by: Shahed Shaikh <shahed.shaikh@qlogic.com>

Please post the original patch to netdev so that it properly gets
queued up in patchwork, thank you very much.
\
 
 \ /
  Last update: 2014-01-14 00:21    [W:0.063 / U:3.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site