]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Dec 2020 07:48:10 +0000 (08:48 +0100)
commit0b1f2cff16d13de92a04e14db96201a2f78d9e41
treecd2f76328e34a443672055b910cdb2b128be967e
parent448ad389cbc12f72d9cc6ab087a694bb01a99cdf
xtensa: uaccess: Add missing __user to strncpy_from_user() prototype

[ 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>
arch/xtensa/include/asm/uaccess.h