aboutsummaryrefslogtreecommitdiff
path: root/drivers/s390/char/sclp.c
diff options
context:
space:
mode:
authorJakob Koschel <jakobkoschel@gmail.com>2022-03-19 21:35:28 +0100
committerVasily Gorbik <gor@linux.ibm.com>2022-03-27 22:18:39 +0200
commit97f32e11730e05927df196bcc8e30d8f2bcbb181 (patch)
treebbd6c0b63fdbdeb137ad98aa12114ff2ce305056 /drivers/s390/char/sclp.c
parent7107822004198f60dd46d102694a666db784d28b (diff)
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>
Diffstat (limited to 'drivers/s390/char/sclp.c')
0 files changed, 0 insertions, 0 deletions