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

Skip to content
Commit 64ebe955 authored by Axel Lin's avatar Axel Lin Committed by Jonathan Cameron
Browse files

iio: hid-sensor: Return proper error if kmemdup fails



Return -ENOMEM instead of 0 if kmemdup fails.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 95273f89
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