On 9/5/25 09:05, John Garry wrote:
On 04/09/2025 15:54, Gustavo A. R. Silva wrote:
Remove unused field residual_count in a couple of structures,
and with this, fix the following -Wflex-array-member-not-at-end
warnings:
drivers/scsi/pm8001/pm8001_hwi.h:342:33: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-
not-at-end]
drivers/scsi/pm8001/pm80xx_hwi.h:561:32: 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 <[email protected]>
Personally I think that it would be better to comment-out the residual_count
member, so that future developers can know about this field and why it is not
there.
I agree. I'll send v3.
Anyway,
Reviewed-by: John Garry <[email protected]>
Thanks!
-Gustavo