]> bbs.cooldavid.org Git - net-next-2.6.git/commit
NET: pktgen - fix compile warning
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 6 Nov 2010 20:11:38 +0000 (20:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Nov 2010 13:28:01 +0000 (05:28 -0800)
commit86c2c0a8a4965ae5cbc0ff97ed39a4472e8e9b23
tree83be2471679b6b59658085972cf804eff200f33b
parent22e76c849d505d87c5ecf3d3e6742a65f0ff4860
NET: pktgen - fix compile warning

This should fix the following warning:

net/core/pktgen.c: In function ‘pktgen_if_write’:
net/core/pktgen.c:890: warning: comparison of distinct pointer types lacks a cast

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Reviewed-by: Nelson Elhage <nelhage@ksplice.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c