• Jan Glauber's avatar
    [S390] qdio: prevent compile warning under CONFIG_32BIT · 6fa1098a
    Jan Glauber authored
    Prevent the following compiler warning if compiling a 31 bit kernel:
    
    drivers/s390/cio/qdio_main.c: In function ‘get_outbound_buffer_frontier’:
    drivers/s390/cio/qdio_main.c:646:16: warning: ‘state’ may be used uninitialized in this function
      CC      lib/radix-tree.o
      CC      drivers/s390/scsi/zfcp_cfdc.o
    drivers/s390/cio/qdio_main.c: In function ‘qdio_inbound_q_moved’:
    drivers/s390/cio/qdio_main.c:479:16: warning: ‘state’ may be used uninitialized in this function
    drivers/s390/cio/qdio_main.c:479:16: note: ‘state’ was declared here
    Signed-off-by: default avatarJan Glauber <jang@linux.vnet.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    6fa1098a
qdio_main.c 40.3 KB