mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
cf55902b9c
If the copy_to_user() fails we should unlock and return directly without
updating "cnt". Also the return value should be -EFAULT instead of the
number of bytes remaining.
Fixes:
|
||
---|---|---|
.. | ||
ion | ||
uapi | ||
ashmem.c | ||
ashmem.h | ||
Kconfig | ||
lowmemorykiller.c | ||
Makefile | ||
TODO |