]> git.baikalelectronics.ru Git - kernel.git/commit
net: qlcnic: fix warning for incorrect type in argument
authordingtianhong <dingtianhong@huawei.com>
Sat, 11 Jan 2014 08:23:35 +0000 (16:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2014 07:30:35 +0000 (23:30 -0800)
commit6fa8779e34f0d2c84a20e8aca4e963e1e0f3edbc
tree4a54b96fc6376a5bc27176af128e1b7d1084f12f
parent8fd51b05f29210cc84ffa0602a896f24611e0eed
net: qlcnic: fix warning for incorrect type in argument

The commit 037382d4d829c112f86e6a4b7b26e793508bd639
(net: qlcnic: slight optimization of addr compare)
cause a warning "sparse: incorrect type in argument 2
(different type sizes)", so fix it.

I think julia will convert ether_addr_equal to ether_addr_equal_64bits later.

Cc: Himanshu Madhani <himanshu.madhani@qlogic.com>
Cc: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c