s390/netiuvc: get rid of forward declarations
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 11 Jun 2021 07:45:02 +0000 (09:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Jun 2021 20:06:33 +0000 (13:06 -0700)
commitfbf179683655ca83b442d5f86e17ad25a462560e
treedacc4ce80a8a1c8395d2231f3ea539cf8343a926
parent87c272c618c7197b24fd3acf2d337315bd93b4fa
s390/netiuvc: get rid of forward declarations

Move netiucv_handler to get rid of forward declarations and gcc11
compile warnings:

drivers/s390/net/netiucv.c:518:65: warning: argument 2 of type ‘u8[16]’ {aka ‘unsigned char[16]’} with mismatched bound [-Warray-parameter=]
  518 | static void netiucv_callback_connack(struct iucv_path *path, u8 ipuser[16])
      |                                                              ~~~^~~~~~~~~~
drivers/s390/net/netiucv.c:122:58: note: previously declared as ‘u8 *’ {aka ‘unsigned char *’}
  122 | static void netiucv_callback_connack(struct iucv_path *, u8 *);

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/netiucv.c