Re: [PATCH] ata: correctly handling failed allocation

2015-12-31 Thread Tejun Heo
On Tue, Dec 29, 2015 at 04:21:15PM -0500, Insu Yun wrote: > Since kzalloc can be failed in memory pressure, return error when failed. > > Signed-off-by: Insu Yun Applied to libata/for-4.5. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH] ata: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since kzalloc can be failed in memory pressure, return error when failed. Signed-off-by: Insu Yun --- drivers/ata/sata_sx4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ata/sata_sx4.c b/drivers/ata/sata_sx4.c index fab504f..48301cb 100644 --- a/drivers/ata/sata_sx4.c +++ b/driv