mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
fd53699831
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:
|
||
---|---|---|
.. | ||
acornscsi-io.S | ||
acornscsi.c | ||
acornscsi.h | ||
arxescsi.c | ||
cumana_1.c | ||
cumana_2.c | ||
eesox.c | ||
fas216.c | ||
fas216.h | ||
Kconfig | ||
Makefile | ||
msgqueue.c | ||
msgqueue.h | ||
oak.c | ||
powertec.c | ||
queue.c | ||
queue.h | ||
scsi.h |