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

The commit e469a423c5afd76a3c617c0c251775aaf8a3e934
(net: 3com: slight optimization of addr compare)
cause a warning: "passing argument 1 of 'ether_addr_equal'
from incompatible pointer type", so fix it.

I think julia will convert ether_addr_equal to ether_addr_equal_64bits later.

Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/3com/3c509.c