Skip to contentSkip to conversation

linux-next: manual merge of the perf tree with the mm-nonmm-unstable tree

PATCH Mark Brown 2 participants 2 messages Nov 23 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

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.

tools/include/linux/compiler.h +0 -0
diff --cc tools/include/linux/compiler.h
index fad2c6131a80c,505fbb0080d06..0000000000000
@@@ -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 \
#1 lore raw

Hello,

Quoted 14 lines · Mark Brown

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")

Quoted 8 lines

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.

Thanks for letting me know. The change looks fine. I'll note that when it happens again during the next merge window.

Thanks,
Namhyung

Quoted 21 lines
tools/include/linux/compiler.h +0 -5
diff --cc tools/include/linux/compiler.h
index fad2c6131a80c,505fbb0080d06..0000000000000
@@@ -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 \