alistair23-linux/drivers/scsi/arm
Arnd Bergmann fd53699831 scsi: acornscsi: fix build error
A cleanup patch introduced a fatal typo from inbalanced curly braces:

drivers/scsi/arm/acornscsi.c: In function 'acornscsi_host_reset':
drivers/scsi/arm/acornscsi.c:2773:1: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
drivers/scsi/arm/acornscsi.c:2795:12: error: invalid storage class for function 'acornscsi_show_info'
 static int acornscsi_show_info(struct seq_file *m, struct Scsi_Host *instance)

The same patch incorrectly changed the argument type of the reset
handler, as shown by this warning:

drivers/scsi/arm/acornscsi.c:2888:27: error: initialization of 'int (*)(struct scsi_cmnd *)' from incompatible pointer type 'int (*)(struct Scsi_Host *)' [-Werror=incompatible-pointer-types]
  .eh_host_reset_handler = acornscsi_host_reset,

This removes one the extraneous opening brace and reverts the
argument type change.

[mkp: fixed checkpatch complaint]

Fixes: 74fa80ee3f ("scsi: acornscsi: move bus reset to host reset")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-09-14 21:02:03 -04:00
..
acornscsi-io.S
acornscsi.c scsi: acornscsi: fix build error 2017-09-14 21:02:03 -04:00
acornscsi.h Fix common misspellings 2011-03-31 11:26:23 -03:00
arxescsi.c scsi: Do not set cmd_per_lun to 1 in the host template 2015-05-31 18:06:28 -07:00
cumana_1.c scsi: NCR5380: Move bus reset to host reset 2017-08-25 17:21:11 -04:00
cumana_2.c scsi: rename SCSI_MAX_{SG, SG_CHAIN}_SEGMENTS 2016-04-15 16:53:14 -04:00
eesox.c scsi: rename SCSI_MAX_{SG, SG_CHAIN}_SEGMENTS 2016-04-15 16:53:14 -04:00
fas216.c scsi: fas216: avoid fas216_log_setup for loadable module 2016-02-23 21:27:02 -05:00
fas216.h fas216: switch to ->show_info() 2013-04-09 14:13:26 -04:00
Kconfig drivers/scsi/arm: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:45 -08:00
Makefile
msgqueue.c
msgqueue.h
oak.c scsi: NCR5380: Move bus reset to host reset 2017-08-25 17:21:11 -04:00
powertec.c scsi: rename SCSI_MAX_{SG, SG_CHAIN}_SEGMENTS 2016-04-15 16:53:14 -04:00
queue.c scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
queue.h
scsi.h