Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 427cc61a authored by Insu Yun's avatar Insu Yun Committed by Tejun Heo
Browse files

sata_sx4: correctly handling failed allocation



Since kzalloc can be failed in memory pressure, return error when failed.

Signed-off-by: default avatarInsu Yun <wuninsu@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 1980eb9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment