From: Heiko Carstens Date: Fri, 12 Oct 2007 14:11:38 +0000 (+0200) Subject: [S390] qdio: dont cast function pointers and use them to call functions. X-Git-Tag: v2.6.24-rc1~1421 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b18a2db416088ad54a4bfb59c0b932be383aee83;p=pandora-kernel.git [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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed