[S390] qdio: prevent compile warning under CONFIG_32BIT
authorJan Glauber <jang@linux.vnet.ibm.com>
Mon, 31 Jan 2011 10:30:08 +0000 (11:30 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 31 Jan 2011 10:30:21 +0000 (11:30 +0100)
commit6fa1098ac1bc2ad19627a08ae654caf360bc85aa
tree614a9e5b234ff71c95986171b71a7a6530baef16
parent786cca889264836fad841757a1bf1bbaa7a16010
[S390] qdio: prevent compile warning under CONFIG_32BIT

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: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_main.c