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

Configure Feed

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

[S390] zcrypt: Fix sparse warning.

Do not shadow earlier symbol.

Signed-off-by: Felix Beck <felix.beck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Felix Beck and committed by
Martin Schwidefsky
6458abc9 930e44fb

+2 -2
+2 -2
drivers/s390/crypto/zcrypt_pcixcc.c
··· 361 361 .ToCardLen1 = sizeof *msg - sizeof(msg->hdr), 362 362 .FromCardLen1 = sizeof *msg - sizeof(msg->hdr), 363 363 }; 364 - static struct CPRBX static_cprbx = { 364 + static struct CPRBX local_cprbx = { 365 365 .cprb_len = 0x00dc, 366 366 .cprb_ver_id = 0x02, 367 367 .func_id = {0x54, 0x32}, ··· 372 372 373 373 msg->hdr = static_type6_hdrX; 374 374 msg->hdr.FromCardLen2 = random_number_length, 375 - msg->cprbx = static_cprbx; 375 + msg->cprbx = local_cprbx; 376 376 msg->cprbx.rpl_datal = random_number_length, 377 377 msg->cprbx.domain = AP_QID_QUEUE(ap_dev->qid); 378 378 memcpy(msg->function_code, msg->hdr.function_code, 0x02);