commit | 6808c5fb7fc1574c7608a38c9819f1639d89c3d0 | [log] [tgz] |
---|---|---|
author | Santosh Y <santosh.sy@samsung.com> | Thu May 29 10:01:52 2014 +0530 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Tue Jun 03 16:43:30 2014 -0400 |
tree | b87da5426b9a9e510b49e173532a3a9e50e27be1 | |
parent | 4131f2fcdc5853d995044d4ed995a25ee4eb5ab2 [diff] |
NVMe: Prevent possible NULL pointer dereference kmalloc() used by the nvme_alloc_iod() to allocate memory for 'iod' can fail. So check the return value. Signed-off-by: Santosh Y <santosh.sy@samsung.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>