commit | b18a2db416088ad54a4bfb59c0b932be383aee83 | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Fri Oct 12 16:11:38 2007 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri Oct 12 16:13:07 2007 +0200 |
tree | 6a5bbd0dde9552cbff5eca9f7b08d50dbe3b01ff | |
parent | 5a291321d6b7ab40923b9a42b36746f7b5ca0055 [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>