commit d8e45bf1aed2 upstream. (selftests/mount_setattr: fix redefine struct mount_attr build error) Backport this commit from v6.2.0-rc5 to v6.3, v6.1, and v5.15 to resolve the struct redefinition error:
mount_setattr_test.c:107:8: error: redefinition of 'struct mount_attr' 107 | struct mount_attr { | ^~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/mount.h:32, from mount_setattr_test.c:10: ../../../../usr/include/linux/mount.h:129:8: note: originally defined here 129 | struct mount_attr {
This error is caused by the upstream commit f1594bc67657 (selftests mount: Fix mount_setattr_test builds failed) backported to v5.15
Thanks,
Hardik
On Wed, Jun 14, 2023 at 01:28:25PM -0700, Hardik Garg wrote:
commit d8e45bf1aed2 upstream. (selftests/mount_setattr: fix redefine struct mount_attr build error) Backport this commit from v6.2.0-rc5 to v6.3, v6.1, and v5.15 to resolve the struct redefinition error:
6.3 obviously already has this commit in it, so how are you seeing an error there?
confused,
greg k-h
I apologize for the mistake. I'm not getting this error with v6.3 Please backport it to v6.1 and v5.15
Thanks, Hardik
On 6/18/2023 11:24 PM, Greg KH wrote:
On Wed, Jun 14, 2023 at 01:28:25PM -0700, Hardik Garg wrote:
commit d8e45bf1aed2 upstream. (selftests/mount_setattr: fix redefine struct mount_attr build error) Backport this commit from v6.2.0-rc5 to v6.3, v6.1, and v5.15 to resolve the struct redefinition error:
6.3 obviously already has this commit in it, so how are you seeing an error there?
confused,
greg k-h
linux-stable-mirror@lists.linaro.org