aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-01-16 14:58:41 +0000
committerArnd Bergmann <[email protected]>2021-07-27 21:01:13 +0000
commitb26b181651f3214fa2383411fb85029b7f3e1788 (patch)
tree06163a94c86fc93e2c7ef7c70caeb651b8da2859 /drivers/platform/x86/intel/pmt/class.c
parentcsky: use generic strncpy/strnlen from_user (diff)
downloadkernel-b26b181651f3214fa2383411fb85029b7f3e1788.tar.gz
kernel-b26b181651f3214fa2383411fb85029b7f3e1788.zip
microblaze: use generic strncpy/strnlen from_user
Remove the microblaze implemenation of strncpy/strnlen and instead use the generic versions. The microblaze version is fairly slow because it always does byte accesses even for aligned data, and it lacks a checks for user_addr_max(). Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions