aboutsummaryrefslogtreecommitdiff
path: root/drivers/s390/block/dasd_genhd.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-10-12 16:11:38 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-10-12 16:13:07 +0200
commitb18a2db416088ad54a4bfb59c0b932be383aee83 (patch)
tree6a5bbd0dde9552cbff5eca9f7b08d50dbe3b01ff /drivers/s390/block/dasd_genhd.c
parent5a291321d6b7ab40923b9a42b36746f7b5ca0055 (diff)
[S390] qdio: dont cast function pointers and use them to call functions.
According to C99 6.3.2.3 it's undefined what happens if a converted pointer is used to call a function whose type is not compatible with the pointed-to type. That's what the qdio code is doing, so fix it. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_genhd.c')
0 files changed, 0 insertions, 0 deletions