Staging: iio: test for failed allocation
We should return test to see if iio_allocate_trigger() fails and return -ENOMEM. Signed-off-by: NDan Carpenter <error27@gmail.com> Acked-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录