Hi all, Today's linux-next merge of the perf tree got a conflict in: tools/include/linux/compiler.h between commit: 8bc0233d079e4 ("xarray: switch to __nonnull_args() macro") from the mm-nonmm-unstable tree and commit: bed0673e839c3 ("tools headers compiler: Synchronize compiler_types.h with the kernel sources") from the perf tree. I fixed it up (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. diff --cc tools/include/linux/compiler.h index fad2c6131a80c,505fbb0080d06..0000000000000 --- a/tools/include/linux/compiler.h +++ b/tools/include/linux/compiler.h @@@ -68,15 -34,6 +34,10 @@@ #define __naked __attribute__((__naked__)) #endif +#ifndef __nonnull_args +#define __nonnull_args(x...) __attribute__((__nonnull__(x))) +#endif + - /* Are two types/vars the same type (ignoring qualifiers)? */ - #ifndef __same_type - # define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) - #endif - /* Enforce static storage duration. */ #define ASSERT_STATIC_STORAGE(name) \ static typeof(name) * const __always_unused \