diff options
author | Sebastian Ott <sebott@linux.ibm.com> | 2018-07-03 13:06:45 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-07-04 08:35:59 +0200 |
commit | d2f2df69885d0548ed5c0ba8fa2751497ba62352 (patch) | |
tree | 546afbf10890fe0218ddfe93b93097454953569b /lib/raid6/s390vx.uc | |
parent | 0ac942826b3d900b7054f71bb6a15428441458d2 (diff) | |
download | linux-d2f2df69885d0548ed5c0ba8fa2751497ba62352.tar.bz2 |
s390/dasd: fix cast-function-type warnings
Change the tasklets parameter type to fix W=1 warnings when building
with gcc 8 like below:
drivers/s390/block/dasd.c: In function 'dasd_alloc_device':
drivers/s390/block/dasd.c:129:8: warning: cast between incompatible function types
from 'void (*)(struct dasd_device *)' to 'void (*)(long unsigned int)' [-Wcast-function-type]
(void (*)(unsigned long)) dasd_device_tasklet,
^
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Acked-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/raid6/s390vx.uc')
0 files changed, 0 insertions, 0 deletions