On Thu, May 14, 2020 at 02:35:04PM -0700, Bart Van Assche wrote: > Instead of passing an argument to the firmware dumping functions that > tells these functions whether or not to obtain the hardware lock, obtain > that lock before calling these functions. This patch fixes the following > recently introduced C=2 build error: > > CHECK drivers/scsi/qla2xxx/qla_tmpl.c > drivers/scsi/qla2xxx/qla_tmpl.c:1133:1: error: Expected ; at end of statement > drivers/scsi/qla2xxx/qla_tmpl.c:1133:1: error: got } > drivers/scsi/qla2xxx/qla_tmpl.h:247:0: error: Expected } at end of function > drivers/scsi/qla2xxx/qla_tmpl.h:247:0: error: got end-of-input > > Cc: Arun Easi <aeasi@xxxxxxxxxxx> > Cc: Nilesh Javali <njavali@xxxxxxxxxxx> > Cc: Daniel Wagner <dwagner@xxxxxxx> > Cc: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx> > Cc: Hannes Reinecke <hare@xxxxxxx> > Cc: Martin Wilck <mwilck@xxxxxxxx> > Cc: Roman Bolshakov <r.bolshakov@xxxxxxxxx> > Fixes: cbb01c2f2f63 ("scsi: qla2xxx: Fix MPI failure AEN (8200) handling") > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Reviewed-by: Daniel Wagner <dwagner@xxxxxxx>