mirror-linux/drivers/scsi/isci
Gustavo A. R. Silva 11956e4b91 scsi: isci: Avoid -Wflex-array-member-not-at-end warning
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.

Move the conflicting declaration (which happens to be in a union, so
we're moving the entire union) to the end of the corresponding
structure. Notice that `struct ssp_response_iu` is a flexible structure,
this is a structure that contains a flexible-array member.

With these changes fix the following warning:

drivers/scsi/isci/task.h:92:11: warning: structure containing a flexible
array member is not at the end of another structure
[-Wflex-array-member-not-at-end]

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://patch.msgid.link/aM09bpl1xj9KZSZl@kspp
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2025-10-20 12:00:11 -04:00
..
Makefile
host.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
host.h scsi: libsas: Delete struct scsi_core 2023-08-21 17:50:58 -04:00
init.c scsi: isci: Make most module parameters static 2025-03-10 21:13:03 -04:00
isci.h treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
phy.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
phy.h
port.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
port.h
port_config.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
probe_roms.c
probe_roms.h
registers.h
remote_device.c scsi: isci: Use dev_parent_is_expander() helper 2025-08-18 22:08:30 -04:00
remote_device.h scsi: isci: Remove unused sci_remote_device_reset() 2025-05-12 22:11:55 -04:00
remote_node_context.c
remote_node_context.h
remote_node_table.c
remote_node_table.h
request.c scsi: isci: Fix dma_unmap_sg() nents value 2025-07-14 20:57:25 -04:00
request.h scsi: isci: Remove redundant check in isci_task_request_build() 2023-12-05 21:13:15 -05:00
sas.h
scu_completion_codes.h
scu_event_codes.h
scu_remote_node_context.h
scu_task_context.h
task.c scsi: isci: Remove redundant check in isci_task_request_build() 2023-12-05 21:13:15 -05:00
task.h scsi: isci: Avoid -Wflex-array-member-not-at-end warning 2025-10-20 12:00:11 -04:00
unsolicited_frame_control.c
unsolicited_frame_control.h