Messages in this thread | | | Date | Mon, 5 Oct 2020 08:25:57 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH][next] block: scsi_ioctl: Avoid the use of one-element arrays |
| |
On Fri, Oct 02, 2020 at 06:10:33PM -0500, Gustavo A. R. Silva wrote: > One-element arrays are being deprecated[1]. Replace the one-element array > with a simple object of type compat_caddr_t: 'compat_caddr_t unused'[2], > once it seems this field is actually never used.
They are only deprecated when abused as variable length array. That is not the case here.
| |