Searched hist:"97 f32e11730e05927df196bcc8e30d8f2bcbb181" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/s390/crypto/ |
H A D | zcrypt_card.c | 97f32e11730e05927df196bcc8e30d8f2bcbb181 Sat Mar 19 20:35:28 UTC 2022 Jakob Koschel <jakobkoschel@gmail.com> s390/zcrypt: fix using the correct variable for sizeof()
While the original code is valid, it is not the obvious choice for the sizeof() call and in preparation to limit the scope of the list iterator variable the sizeof should be changed to the size of the variable being allocated.
Signed-off-by: Jakob Koschel <jakobkoschel@gmail.com> Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
|