diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-03-21 02:23:54 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-25 04:47:20 +0300 |
commit | 634b9774d335020e2cd55950a6c1242e7e3bd1e7 (patch) | |
tree | 0fd416b4938662b5822fd71aee25f568bfac83e3 /drivers/scsi/qla2xxx/qla_iocb.c | |
parent | cba3ebfc008e89a58788b2055e82c95331aaefa7 (diff) | |
download | linux-634b9774d335020e2cd55950a6c1242e7e3bd1e7.tar.xz |
scsi: qla2xxx: Constify struct qla_tgt_func_tmpl
Since the target function pointers are not modified at runtime, declare the
data structure with the target function pointers const.
Link: https://lore.kernel.org/r/20210320232359.941-3-bvanassche@acm.org
Cc: Quinn Tran <qutran@marvell.com>
Cc: Mike Christie <michael.christie@oracle.com>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_iocb.c')
0 files changed, 0 insertions, 0 deletions