]> git.baikalelectronics.ru Git - kernel.git/commit
iseries_veth: Fix wrong parameter given to sizeof call
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 17 Nov 2011 10:33:52 +0000 (10:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2011 19:56:35 +0000 (14:56 -0500)
commitca2c7734729b00c98b289e0b2db82bd71efe21f2
tree5d387c75daad1d8e4933dd8866fdf595dca61797
parent5c6ce51f32e43569a5c39db9d4fb81f3ddc250d6
iseries_veth: Fix wrong parameter given to sizeof call

"remote_list" is of type

struct dma_chunk remote_list[VETH_MAX_FRAMES_PER_MSG];

Probably a copy'n'paste error.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/iseries_veth.c