OpenCloudOS-Kernel/drivers/net/ethernet/pensando
Dan Carpenter 5871d0c6b8 ionic: return -EFAULT if copy_to_user() fails
The copy_to_user() function returns the number of bytes that it wasn't
able to copy.  We want to return -EFAULT to the user.

Fixes: fee6efce56 ("ionic: add hw timestamp support files")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-13 15:08:18 -07:00
..
ionic ionic: return -EFAULT if copy_to_user() fails 2021-04-13 15:08:18 -07:00
Kconfig ionic: add DIMLIB to Kconfig 2020-09-17 18:00:30 -07:00
Makefile