]> git.baikalelectronics.ru Git - 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)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 17 Nov 2020 13:09:28 +0000 (05:09 -0800)
commit730c8877f008b8e4cf9e352f5b4c87693c0b83af
treedbdffc40bada4b97abc6b15c3ed67bca93d7dd3a
parentfdcdc98d18218354e4532f23aa92d8a6cc8bbd8d
xtensa: uaccess: Add missing __user to strncpy_from_user() prototype

When adding __user annotations in commit d8bf743b9d54, 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>
arch/xtensa/include/asm/uaccess.h