OSDN Git Service

s390/zcrypt: remove VLA usage from the AP bus
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 5 Sep 2018 05:45:11 +0000 (07:45 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 12 Sep 2018 09:33:37 +0000 (11:33 +0200)
commitfa108f95c6769ec15ea59b7db00454b82afc6121
tree9c78924b2c010d34f357f95cd82545229a39445a
parentb81126e01a8c6048249955feea46c8217ebefa91
s390/zcrypt: remove VLA usage from the AP bus

The use of variable length arrays on the stack is deprecated.
git commit 3d8f60d38e249f989a7fca9c2370c31c3d5487e1
"s390/zcrypt: hex string mask improvements for apmask and aqmask."
added three new VLA arrays. Remove them again.

Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.c