Bart Van Assche a27747a207 scsi: qla2xxx: Improve readability of the code that handles qla_flt_header
Declare qla_hw_data.flt as a qla_flt_header pointer instead of as a void
pointer. Add a zero-length array at the end of struct qla_flt_header to
make it clear that qla_flt_header and qla_flt_region are contiguous. This
patch removes several casts but does not change any functionality.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Quinn Tran <qutran@marvell.com>
Cc: Martin Wilck <mwilck@suse.com>
Cc: Daniel Wagner <dwagner@suse.de>
Cc: Roman Bolshakov <r.bolshakov@yadro.com>
Link: https://lore.kernel.org/r/20191219004706.39039-1-bvanassche@acm.org
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-01-02 21:53:30 -05:00
..
2019-09-30 23:59:53 -04:00
2019-12-09 10:36:44 -08:00
2019-12-02 13:37:02 -08:00
2019-11-07 06:43:18 -07:00
2019-12-02 13:37:02 -08:00
2019-09-21 10:50:15 -07:00
2019-11-06 00:04:02 -05:00
2019-09-21 10:50:15 -07:00
2019-12-08 12:23:42 -08:00
2019-12-08 12:23:42 -08:00
2019-03-02 11:39:54 -08:00
2019-07-11 15:17:41 -07:00
2019-07-11 15:17:41 -07:00
2019-11-12 22:21:35 -05:00
2018-12-18 23:19:21 -05:00
2019-01-08 21:58:35 -05:00
2019-01-08 21:58:35 -05:00
2019-07-11 15:14:01 -07:00
2019-11-07 06:43:18 -07:00
2019-06-18 19:46:18 -04:00
2019-07-11 15:17:41 -07:00
2019-07-11 15:17:41 -07:00
2018-11-06 21:31:28 -05:00
2019-11-07 06:43:18 -07:00
2019-07-11 15:14:01 -07:00
2019-07-11 15:17:41 -07:00
2018-12-28 14:48:06 -08:00
2019-05-20 10:56:43 -04:00
2019-08-16 11:33:56 -07:00
2019-08-16 11:33:56 -07:00
2019-12-02 13:37:02 -08:00
2019-07-11 15:14:01 -07:00
2019-12-02 13:37:02 -08:00
2019-12-08 12:23:42 -08:00
2019-12-08 12:23:42 -08:00
2019-12-08 12:23:42 -08:00
2019-07-11 15:14:01 -07:00
2019-12-02 13:37:02 -08:00
2018-12-18 23:19:21 -05:00
2019-05-21 06:16:23 -04:00
2019-07-11 15:14:01 -07:00