Skip to contentSkip to conversation

Tracing patches

GIT PULL Applied Stefan Hajnoczi 2 participants 3 messages Oct 5, 2017 Checkpatch

lore
Share & tools
lore
#0 lore raw

The following changes since commit 5456c6a4ec9cd8fc314ddc303e88bf85c110975c:

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2017-10-05 12:02:21 +0100)

are available in the git repository at:

git://github.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 45042732f39ecd42794c256bf98f231e58849c3e:

checkpatch: fix incompatibility with old perl (2017-10-05 10:22:44 -0400)

----------------------------------------------------------------

----------------------------------------------------------------

Vladimir Sementsov-Ogievskiy (1):
checkpatch: fix incompatibility with old perl

 scripts/checkpatch.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.13.6
#1 lore raw

[Qemu-devel] [PULL 1/1] checkpatch: fix incompatibility with old perl

From: Vladimir Sementsov-Ogievskiy <[email protected]>

Do not use '/r' modifier which was introduced in perl 5.14.

Fixes 3e5875afc0f ("checkpatch: check trace-events code style")

Message-id: [email protected]

---
 scripts/checkpatch.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
scripts/checkpatch.pl +2 -1
index 3c0a28e644..0c41f1212f 100755
@@ -1432,7 +1432,8 @@ sub process {
 					qr/%[-+ *.0-9]*([hljztL]|ll|hh)?(x|X|"\s*PRI[xX][^"]*"?)/;
 
 				# don't consider groups splitted by [.:/ ], like 2A.20:12ab
-				my $tmpline = $rawline =~ s/($hex[.:\/ ])+$hex//gr;
+				my $tmpline = $rawline;
+				$tmpline =~ s/($hex[.:\/ ])+$hex//g;
 
 				if ($tmpline =~ /(?<!0x)$hex/) {
 					ERROR("Hex numbers must be prefixed with '0x'\n" .
Signature · 1 line
2.13.6
#2 lore raw
In reply to Stefan Hajnoczi
Quoted 14 lines · Stefan Hajnoczi

The following changes since commit 5456c6a4ec9cd8fc314ddc303e88bf85c110975c:

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2017-10-05 12:02:21 +0100)

are available in the git repository at:

git://github.com/stefanha/qemu.git tags/tracing-pull-request

for you to fetch changes up to 45042732f39ecd42794c256bf98f231e58849c3e:

checkpatch: fix incompatibility with old perl (2017-10-05 10:22:44 -0400)

----------------------------------------------------------------

Quoted 8 lines

----------------------------------------------------------------

Vladimir Sementsov-Ogievskiy (1):
checkpatch: fix incompatibility with old perl

 scripts/checkpatch.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks.

-- PMM