summaryrefslogtreecommitdiff
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorInsu Yun <wuninsu@gmail.com>2015-12-29 21:21:15 (GMT)
committerTejun Heo <tj@kernel.org>2016-01-01 02:33:42 (GMT)
commit427cc61a4486fa80eccaad2bdfcc50cfd1b46625 (patch)
treeaebf7116d2457bb18ea94f2286388f29330f66d7 /drivers/ata/libata-core.c
parent1980eb9bd7d733ce089f9b154c08c2c71fb1f2a7 (diff)
downloadlinux-427cc61a4486fa80eccaad2bdfcc50cfd1b46625.tar.xz
sata_sx4: correctly handling failed allocation
Since kzalloc can be failed in memory pressure, return error when failed. Signed-off-by: Insu Yun <wuninsu@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions