summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorStephen M. Cameron <stephenmcameron@gmail.com>2014-11-15 02:26:54 +0300
committerChristoph Hellwig <hch@lst.de>2014-11-20 11:11:24 +0300
commit92084715f4d296c99ac120b3b77cf72d5c194c86 (patch)
tree6f3aa7b0ec667f904dbc397a01784c8eff1b59ba /samples
parent7f73695a04307cc025c09418705eb7ae79b9ce48 (diff)
downloadlinux-92084715f4d296c99ac120b3b77cf72d5c194c86.tar.xz
hpsa: fix allocation sizes for CISS_REPORT_LUNs commands
We were allocating roughly double the amount of memory we should be due to ReportLUNdata and ExtendedReportLUNdata containing a non-zero sized array but adding extra memory to allocate as if the array were zero sized. Track the logical and physical sizes separately. Allocate the memory based on the specific data structure sizes. Signed-off-by: Don Brace <don.brace@pmcs.com> Reviewed-by: Webb Scales <webb.scales@hp.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions