NVMe: Fix the buffer size passed in GetLogPage(CDW10.NUMD)
authorIndraneel Mukherjee <indraneel.m@samsung.com>
Thu, 29 May 2014 06:32:03 +0000 (12:02 +0530)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 3 Jun 2014 20:42:41 +0000 (16:42 -0400)
commit4131f2fcdc5853d995044d4ed995a25ee4eb5ab2
tree1a1e743536c11b1bbff33b973c511d3722daeb5a
parent23372af15e638bf3ce0764554db3b5e58bf7ceb8
NVMe: Fix the buffer size passed in GetLogPage(CDW10.NUMD)

In GetLogPage the buffer size passed to device is a 0's based value.

Signed-off-by: Indraneel M <indraneel.m@samsung.com>
Reported-by: Shiro Itou <shiro.itou@outlook.com>
Reviewed-by: Vishal Verma <vishal.l.verma@linux.intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme-scsi.c