Re: [PATCH 4.19 27/57] xtensa: uaccess: Add missing __user to strncpy_from_user() prototype

From: Pavel Machek
Date: Tue Dec 01 2020 - 10:53:50 EST


Hi!

> From: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
>
> [ Upstream commit dc293f2106903ab9c24e9cea18c276e32c394c33 ]
>
> When adding __user annotations in commit 2adf5352a34a, the
> strncpy_from_user() function declaration for the
> CONFIG_GENERIC_STRNCPY_FROM_USER case was missed. Fix it.

We don't have 2adf5352a34a in v4.19, so rest of the functions are not
annotated, and we should not need this one, either.

Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek

Attachment: signature.asc
Description: Digital signature