]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
IB/mthca: Use correct structure size in call to memset()
authorRoland Dreier <rolandd@cisco.com>
Sat, 10 Feb 2007 16:00:47 +0000 (08:00 -0800)
committerRoland Dreier <rolandd@cisco.com>
Sat, 10 Feb 2007 16:00:47 +0000 (08:00 -0800)
commit99d4f22e91d26e0f8b113bf7fde65a335d36ad6b
tree5fbdc16ca1925d1f1cfba0f8011787e4d13c522b
parent66efc5a7e3061c3597ac43a8bb1026488d57e66b
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>
drivers/infiniband/hw/mthca/mthca_qp.c