]> err.no Git - linux-2.6/commit
[IB] Have cq_resize() method take an int, not int*
authorRoland Dreier <rolandd@cisco.com>
Tue, 8 Nov 2005 19:10:25 +0000 (11:10 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 10 Nov 2005 18:22:50 +0000 (10:22 -0800)
commit40de2e548c225e3ef859e3c60de9785e37e1b5b1
treee7b9ffe6fca9246f29a0a3cdf6417770f5821cef
parent0b4ff2c0e624089ad87dc1604e239b7c3201c53f
[IB] Have cq_resize() method take an int, not int*

Change the struct ib_device.resize_cq() method to take a plain integer
that holds the new CQ size, rather than a pointer to an integer that
it uses to return the new size.  This makes the interface match the
exported ib_resize_cq() signature, and allows the low-level driver to
update the CQ size with proper locking if necessary.

No in-tree drivers are exporting this method yet.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h