Re: [PATCH] scsi: Replace zero-length array with flexible array member
From: Gustavo A. R. Silva
Date: Sun Nov 10 2024 - 16:07:04 EST
In file included from drivers/scsi/scsi_transport_iscsi.c:23:
include/scsi/scsi_bsg_iscsi.h:62:18: error: flexible array member in a struct with no named members
62 | uint32_t vendor_rsp[];
| ^~~~~~~~~~
This won't be an issue in the near future, but for now just use DECLARE_FLEX_ARRAY().
Thanks
--
Gustavo