qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 0/1] Tracing patches
@ 2017-10-05 14:25 Stefan Hajnoczi
  2017-10-05 14:25 ` [Qemu-devel] [PULL 1/1] checkpatch: fix incompatibility with old perl Stefan Hajnoczi
  2017-10-05 16:28 ` [Qemu-devel] [PULL 0/1] Tracing patches Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2017-10-05 14:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, 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)

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

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

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

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

-- 
2.13.6

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PULL 1/1] checkpatch: fix incompatibility with old perl
  2017-10-05 14:25 [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
@ 2017-10-05 14:25 ` Stefan Hajnoczi
  2017-10-05 16:28 ` [Qemu-devel] [PULL 0/1] Tracing patches Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2017-10-05 14:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, Vladimir Sementsov-Ogievskiy, Stefan Hajnoczi

From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

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

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Fixes: 3e5875afc0f ("checkpatch: check trace-events code style")
Tested-by: Alex Williamson <alex.williamson@redhat.com>
Message-id: 20171004154420.34596-1-vsementsov@virtuozzo.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 scripts/checkpatch.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 3c0a28e644..0c41f1212f 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -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" .
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PULL 0/1] Tracing patches
  2017-10-05 14:25 [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
  2017-10-05 14:25 ` [Qemu-devel] [PULL 1/1] checkpatch: fix incompatibility with old perl Stefan Hajnoczi
@ 2017-10-05 16:28 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2017-10-05 16:28 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: QEMU Developers

On 5 October 2017 at 15:25, Stefan Hajnoczi <stefanha@redhat.com> wrote:
> 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(-)
>

Applied, thanks.

-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-05 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-05 14:25 [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
2017-10-05 14:25 ` [Qemu-devel] [PULL 1/1] checkpatch: fix incompatibility with old perl Stefan Hajnoczi
2017-10-05 16:28 ` [Qemu-devel] [PULL 0/1] Tracing patches Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).