]> err.no Git - linux-2.6/commit
IB/ipath: Don't initialize port memory for subports
authorRalph Campbell <ralph.campbell@qlogic.com>
Thu, 15 Mar 2007 21:44:48 +0000 (14:44 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Apr 2007 03:20:54 +0000 (20:20 -0700)
commit947d7617a1d876c2c93f73017a734e070c64d43b
tree29fb7a5aabdb04ad369f71338e6ab5387bffd8c4
parent19085745598ec254fd814411b675b52380c3bac0
IB/ipath: Don't initialize port memory for subports

A recent change was made to allocate memory for a port after CPU
affinity is set. That change didn't account for subports and was
trying to allocate memory for the port twice.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_file_ops.c
drivers/infiniband/hw/ipath/ipath_kernel.h