Skip to contentSkip to conversation

linux-next: manual merge of the pm tree with the printk tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Nov 15, 2019 – Nov 18, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

scripts/checkpatch.pl

between commit:

1d28122131b2 ("checkpatch: don't warn about new vsprintf pointer extension '%pe'")

from the printk tree and commit:

3bd32d6a2ee6 ("lib/vsprintf: Add %pfw conversion specifier for printing fwnode names")

from the pm 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.

Signature · 24 lines
Cheers,
Stephen Rothwell

diff --cc scripts/checkpatch.pl
index 4b40445938dc,3d1f08fa091c..000000000000
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@@ -6019,10 -6020,13 +6020,13 @@@ sub process 
  				my $fmt = get_quoted_string($lines[$count - 1], raw_line($count, 0));
  				$fmt =~ s/%%//g;
  
- 				while ($fmt =~ /(\%[\*\d\.]*p(\w))/g) {
+ 				while ($fmt =~ /(\%[\*\d\.]*p(\w)(\w*))/g) {
  					$specifier = $1;
  					$extension = $2;
- 					if ($extension !~ /[SsBKRraEehMmIiUDdgVCbGNOxt]/) {
+ 					$qualifier = $3;
 -					if ($extension !~ /[SsBKRraEhMmIiUDdgVCbGNOxtf]/ ||
++					if ($extension !~ /[SsBKRraEehMmIiUDdgVCbGNOxtf]/ ||
+ 					    ($extension eq "f" &&
+ 					     defined $qualifier && $qualifier !~ /^w/)) {
  						$bad_specifier = $specifier;
  						last;
  					}
#1 lore raw
Quoted 16 lines · CET Stephen Rothwell

--Sig_/8dHD0qGh0F9UnYxbYqUlngQ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

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

scripts/checkpatch.pl

between commit:

1d28122131b2 ("checkpatch: don't warn about new vsprintf pointer extensio=
n '%pe'")

Quoted 8 lines

from the printk tree and commit:

3bd32d6a2ee6 ("lib/vsprintf: Add %pfw conversion specifier for printing f=
wnode names")

from the pm tree.

I fixed it up (see below) and can carry the fix as necessary.

Thanks, and it looks good to me.

#2 lore raw
Quoted 19 lines · Rafael J. Wysocki
Quoted 18 lines · CET Stephen Rothwell

--Sig_/8dHD0qGh0F9UnYxbYqUlngQ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

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

scripts/checkpatch.pl

between commit:

1d28122131b2 ("checkpatch: don't warn about new vsprintf pointer extensio=
n '%pe'")

from the printk tree and commit:

Quoted 8 lines
Quoted 6 lines

3bd32d6a2ee6 ("lib/vsprintf: Add %pfw conversion specifier for printing f=
wnode names")

from the pm tree.

I fixed it up (see below) and can carry the fix as necessary.

Thanks, and it looks good to me.

The change seems fine to me as well.

Thanks.

Signature · 1 line
Sakari Ailus