Skip to content
Commit 99d4f22e authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mthca: Use correct structure size 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.

Pointed out by Jack Morgenstein <jackm@mellanox.co.il>.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 66efc5a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment