diff options
author | Insu Yun <wuninsu@gmail.com> | 2015-12-29 16:21:15 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-12-31 21:33:42 -0500 |
commit | 427cc61a4486fa80eccaad2bdfcc50cfd1b46625 (patch) | |
tree | aebf7116d2457bb18ea94f2286388f29330f66d7 /drivers/ata/pata_ixp4xx_cf.c | |
parent | 1980eb9bd7d733ce089f9b154c08c2c71fb1f2a7 (diff) |
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/pata_ixp4xx_cf.c')
0 files changed, 0 insertions, 0 deletions