This is to fix build failure when we enable -Werror. It's still in discussion.

There seems no way to disable it only for xfs_attr_remote.o as there is only a
makefile in the parent directory. So Let's temporarily disable for fs/xfs/.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=215851

Signed-off-by: He Zhe <[email protected]>
---
 fs/xfs/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile
index 04611a1068b4..8d4ad8ed4b77 100644
--- a/fs/xfs/Makefile
+++ b/fs/xfs/Makefile
@@ -6,6 +6,7 @@
 
 ccflags-y += -I $(srctree)/$(src)              # needed for trace events
 ccflags-y += -I $(srctree)/$(src)/libxfs
+ccflags-y += -Wno-error=dangling-pointer
 
 obj-$(CONFIG_XFS_FS)           += xfs.o
 
-- 
2.32.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11321): 
https://lists.yoctoproject.org/g/linux-yocto/message/11321
Mute This Topic: https://lists.yoctoproject.org/mt/91330233/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to