diff --git a/src/shared/linux/README b/src/shared/linux/README index 71295faf82..34fc09ba08 100644 --- a/src/shared/linux/README +++ b/src/shared/linux/README @@ -1,6 +1,7 @@ The files in this directory are copied from kernel-6.2, and the following modifications are applied: - auto_dev-ioctl.h: set AUTOFS_DEV_IOCTL_VERSION_MINOR to 0 - auto_dev-ioctl.h: define AUTOFS_IOCTL if not defined +- auto_dev-ioctl.h: use of fake flexible array is fixed - bpf_insn.h: This is imported from samples/bpf/bpf_insn.h - bpf_insn.h: BPF_JMP_A() macro is also imported from include/linux/filter.h - dm-ioctl.h: set DM_VERSION_MINOR to 27 diff --git a/src/shared/linux/auto_dev-ioctl.h b/src/shared/linux/auto_dev-ioctl.h index f2e48b51cc..c6b7e11087 100644 --- a/src/shared/linux/auto_dev-ioctl.h +++ b/src/shared/linux/auto_dev-ioctl.h @@ -109,7 +109,7 @@ struct autofs_dev_ioctl { struct args_ismountpoint ismountpoint; }; - char path[0]; + char path[]; }; static __inline__ void init_autofs_dev_ioctl(struct autofs_dev_ioctl *in)