]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
xtensa: uaccess: Add missing __user to strncpy_from_user() prototype
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 31 Aug 2020 21:09:37 +0000 (00:09 +0300)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Jan 2021 13:24:39 +0000 (14:24 +0100)
commit683fc9de78b9868a38b5d8b13a10256804c9f03d
treef19c20ae126e8f1a048c0c2346e2665037bc77ba
parent114a51c94f4a3a21aca23b736751ca13b89ee7da
xtensa: uaccess: Add missing __user to strncpy_from_user() prototype

BugLink: https://bugs.launchpad.net/bugs/1908562
[ 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.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Message-Id: <20200831210937.17938-1-laurent.pinchart@ideasonboard.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Ian May <ian.may@canonical.com>
arch/xtensa/include/asm/uaccess.h