Skip to content
Commit fb02205a authored by Xiongwei Song's avatar Xiongwei Song Committed by Greg Kroah-Hartman
Browse files

staging: android: check the return value of register_shrinker



register_shrinker call is made in ashmem_init, it may return error code,
so we need to check it.

Signed-off-by: default avatarXiongwei Song <sxwjean@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 47ac54e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment