Re: [PATCH] coda: return -EFAULT if copy fails

From: Su Hui
Date: Mon May 15 2023 - 21:35:52 EST


On 2023/5/15 15:35, Dan Carpenter wrote:
On Mon, May 15, 2023 at 02:19:23PM +0800, Su Hui wrote:
The copy_to/from_user() functions should return -EFAULT instead of -EINVAL.

Signed-off-by: Su Hui <suhui@xxxxxxxxxxxx>
---
Could you add a Fixes tag?

Hi,

This doesn't seem like a bug.

So I think Fixes tag should not be used here.

Thanks for your reply!

Su Hui

regards,
dan carpenter