summaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio_cif.c
diff options
context:
space:
mode:
authorSantosh Y <santosh.sy@samsung.com>2014-05-29 06:31:52 +0200
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2014-06-03 22:43:30 +0200
commit6808c5fb7fc1574c7608a38c9819f1639d89c3d0 (patch)
treeb87da5426b9a9e510b49e173532a3a9e50e27be1 /drivers/uio/uio_cif.c
parentNVMe: Fix the buffer size passed in GetLogPage(CDW10.NUMD) (diff)
downloadlinux-6808c5fb7fc1574c7608a38c9819f1639d89c3d0.tar.xz
linux-6808c5fb7fc1574c7608a38c9819f1639d89c3d0.zip
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>
Diffstat (limited to 'drivers/uio/uio_cif.c')
0 files changed, 0 insertions, 0 deletions