linux-next: manual merge of the fsinfo tree with the kbuild tree

From: Stephen Rothwell
Date: Tue May 12 2020 - 05:06:20 EST


Hi all,

Today's linux-next merge of the fsinfo tree got a conflict in:

samples/vfs/Makefile

between commit:

757172f3d6f9 ("samples: vfs: build sample programs for target architecture")

from the kbuild tree and commits:

51d01aee410b ("fsinfo: Add fsinfo() syscall to query filesystem information")
d3ee0e9da65d ("fsinfo: sample: Mount listing program")

from the fsinfo tree.

I fixed it up (I think - see below) and can carry the fix as necessary.
This is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

--
Cheers,
Stephen Rothwell

diff --cc samples/vfs/Makefile
index 00b6824f9237,19be60ab950e..000000000000
--- a/samples/vfs/Makefile
+++ b/samples/vfs/Makefile
@@@ -1,5 -1,17 +1,7 @@@
# SPDX-License-Identifier: GPL-2.0-only
- userprogs := test-fsmount test-statx
-# List of programs to build
++userprogs := test-fsinfo test-fsmount test-mntinfo test-statx
+always-y := $(userprogs)

-hostprogs := \
- test-fsinfo \
- test-fsmount \
- test-mntinfo \
- test-statx
+userccflags += -I usr/include
+
-always-y := $(hostprogs)
-
-HOSTCFLAGS_test-fsinfo.o += -I$(objtree)/usr/include
-HOSTLDLIBS_test-fsinfo += -static -lm
-HOSTCFLAGS_test-mntinfo.o += -I$(objtree)/usr/include
-
-HOSTCFLAGS_test-fsmount.o += -I$(objtree)/usr/include
-HOSTCFLAGS_test-statx.o += -I$(objtree)/usr/include
++test-fsinfo-userldflags += -static -lm

Attachment: pgpBVVayXMpuo.pgp
Description: OpenPGP digital signature