diff options
author | Markus Elfring <Markus.Elfring@web.de> | 2019-11-11 15:20:44 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2019-11-12 12:50:30 +0100 |
commit | 8b57e7c852fc58a62e668a83c0fa8d9246131803 (patch) | |
tree | 16dd97ca59c294299dfe49449fab9734b3837079 /kernel/locking/spinlock.c | |
parent | f9cac4fd8878929c6ebff0bd272317905d77c38a (diff) |
s390/pkey: use memdup_user() to simplify code
Generated by: scripts/coccinelle/api/memdup_user.cocci
Link: http://lkml.kernel.org/r/aca044e8-e4b2-eda8-d724-b08772a44ed9@web.de
[borntraeger@de.ibm.com: use ==0 instead of <=0 for a size_t variable]
[heiko.carstens@de.ibm.com: split bugfix into separate patch; shorten changelog]
Signed-off-by: Markus Elfring <Markus.Elfring@web.de>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'kernel/locking/spinlock.c')
0 files changed, 0 insertions, 0 deletions