]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: qla2xxx: Declare fourth qla2x00_set_model_info() argument const
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:01:53 +0000 (20:01 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:07 +0000 (21:34 -0400)
commitbc97c9484baefe5092120b2b81c3993296ad14ad
tree14389d5b7d1863a902aa8e23d260926dd9c51904
parente6803efae5acd109fad9f2f07dab674563441a53
scsi: qla2xxx: Declare fourth qla2x00_set_model_info() argument const

Make it clear to humans and also to the compiler that the string passed
as fourth argument is not modified.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_init.c