git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4131f2f
)
NVMe: Prevent possible NULL pointer dereference
author
Santosh Y
<santosh.sy@samsung.com>
Thu, 29 May 2014 04:31:52 +0000
(10:01 +0530)
committer
Matthew Wilcox
<matthew.r.wilcox@intel.com>
Tue, 3 Jun 2014 20:43:30 +0000
(16:43 -0400)
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>
drivers/block/nvme-core.c
patch
|
blob
|
history
diff --cc
drivers/block/nvme-core.c
Simple merge