OSDN Git Service

s390/con3270: use proper type for tasklet function
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 2 Sep 2021 18:38:53 +0000 (20:38 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 7 Sep 2021 11:38:42 +0000 (13:38 +0200)
commit44bead2545f11d543c3cc38b1342713c7f825dc2
treed877973562140b48abf850067924aba54ee4099e
parent5dddfaac4c258f5eda7b3dba7f9d851262fcbbab
s390/con3270: use proper type for tasklet function

Get rid of this warning:

drivers/s390/char/con3270.c:629:22: warning: cast between incompatible function types from ‘void (*)(struct raw3270_request *)’ to ‘void (*)(long unsigned int)’ [-Wcast-function-type]
  629 |                      (void (*)(unsigned long)) con3270_read_tasklet,
      |                      ^

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/con3270.c