[PATCH] staging: android: ion: Check for register_shrinker() failure.

Greg KH greg at kroah.com
Wed Nov 29 18:08:22 UTC 2017


On Wed, Nov 29, 2017 at 10:33:39PM +0900, Tetsuo Handa wrote:
> register_shrinker() might return -ENOMEM error since Linux 3.12.
> But since callers of ion_device_add_heap() are not ready to receive an
> error and it is not simple enough to fix within this patch, this patch
> just prints a warning line when register_shrinker() failed.
> 
> Signed-off-by: Tetsuo Handa <penguin-kernel at I-love.SAKURA.ne.jp>
> Cc: John Stultz <john.stultz at linaro.org>
> Cc: Greg Kroah-Hartman <gregkh at suse.de>

I think you need to update your address book, that old email hasn't been
valid for over 5 years now :)

thanks,

greg k-h


More information about the devel mailing list