]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: target: core: Constify enabled() in struct target_opcode_descriptor
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 18 May 2025 18:26:42 +0000 (20:26 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 21 May 2025 02:11:03 +0000 (22:11 -0400)
commit7f0047cb9d42786b62f7ad91c1a17e55940d2dfb
tree5494a6c81faf79aaf1347f14c18bbd060abbf4b7
parent0c52f621f5be7fa8dc04ca9382b8cdc8ff94b714
scsi: target: core: Constify enabled() in struct target_opcode_descriptor

Constify the first argument of the enabled() function in struct
target_opcode_descriptor.

This is the first step in order to constify struct
target_opcode_descriptor.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/4290cf1dbe100c1b1edf2ede5e5aef19b04ee7f2.1747592774.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_spc.c
include/target/target_core_base.h