aboutsummaryrefslogtreecommitdiff
path: root/drivers/ieee1394/video1394.c
diff options
context:
space:
mode:
authorDotan Barak <dotanb@dev.mellanox.co.il>2007-07-15 15:00:09 +0300
committerRoland Dreier <rolandd@cisco.com>2007-07-17 18:37:38 -0700
commit8fcea95a2a15444d5cc4bee174bb12233aa0a2aa (patch)
treecd8d9a0218866a0172ee9e3e1ac85520d1438fe4 /drivers/ieee1394/video1394.c
parent1c27cb71aa7d86df0271caadfcc196a0518f5e33 (diff)
IB/mlx4: Take sizeof the correct pointer in call to memset()
When clearing the ib_ah_attr parameter in to_ib_ah_attr(), use sizeof *ib_ah_attr instead of sizeof *path. This is the same bug as was fixed for mthca in 99d4f22e ("IB/mthca: Use correct structure size in call to memset()"), but the code was cut and pasted into mlx4 before the fix was merged. Signed-off-by: Dotan Barak <dotanb@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/ieee1394/video1394.c')
0 files changed, 0 insertions, 0 deletions