Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 's390-5.9-7' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux

Pull s390 fix from Vasily Gorbik:
"Fix truncated ZCRYPT_PERDEV_REQCNT ioctl result. Copy entire reqcnt
list"

* tag 's390-5.9-7' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
s390/zcrypt: Fix ZCRYPT_PERDEV_REQCNT ioctl

+2 -1
+2 -1
drivers/s390/crypto/zcrypt_api.c
··· 1449 1449 if (!reqcnt) 1450 1450 return -ENOMEM; 1451 1451 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); 1452 - if (copy_to_user((int __user *) arg, reqcnt, sizeof(reqcnt))) 1452 + if (copy_to_user((int __user *) arg, reqcnt, 1453 + sizeof(u32) * AP_DEVICES)) 1453 1454 rc = -EFAULT; 1454 1455 kfree(reqcnt); 1455 1456 return rc;