commit | 99d4f22e91d26e0f8b113bf7fde65a335d36ad6b | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Sat Feb 10 08:00:47 2007 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Sat Feb 10 08:00:47 2007 -0800 |
tree | 5fbdc16ca1925d1f1cfba0f8011787e4d13c522b | |
parent | 66efc5a7e3061c3597ac43a8bb1026488d57e66b [diff] |
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: Roland Dreier <rolandd@cisco.com>