All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Jackson <iwj@xenproject.org>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <iwj@xenproject.org>
Subject: [OSSTEST PATCH 1/8] Executive: Fix an undef warning message
Date: Thu,  1 Oct 2020 17:24:32 +0100	[thread overview]
Message-ID: <20201001162439.18160-1-iwj@xenproject.org> (raw)

$onhost can be undef too

Signed-off-by: Ian Jackson <iwj@xenproject.org>
---
 Osstest/Executive.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm
index 80e70070..a0d9f81e 100644
--- a/Osstest/Executive.pm
+++ b/Osstest/Executive.pm
@@ -1283,7 +1283,8 @@ END
     return sub {
         my ($job, $hostidname, $onhost, $uptoincl_testid) = @_;
 
-	my $memokey = "$job $hostidname $onhost ".($uptoincl_testid//"");
+	my $memokey = "$job $hostidname "
+	  .($onhost//"")." ".($uptoincl_testid//"");
 	my $memo = $our_memo->{$memokey};
 	return @$memo if $memo;
 
-- 
2.20.1



             reply	other threads:[~2020-10-01 16:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01 16:24 Ian Jackson [this message]
2020-10-01 16:24 ` [OSSTEST PATCH 2/8] standalone: Use mkdir -p Ian Jackson
2020-10-01 16:24 ` [OSSTEST PATCH 3/8] sg-run-job: Preserve step state "fail" if set by test script Ian Jackson
2020-10-01 16:24 ` [OSSTEST PATCH 4/8] ts-hosts-allocate-Executive: Allow to tolerate missing resources Ian Jackson
2020-10-01 16:24 ` [OSSTEST PATCH 5/8] cri-getplatforms: Give names to xenarch and suite Ian Jackson
2020-10-01 16:24 ` [OSSTEST PATCH 6/8] cri-getplatforms: Honour new MF_SIMULATE_PLATFORMS env var Ian Jackson
2020-10-01 16:24 ` [OSSTEST PATCH 7/8] standalone-generate-dump-flight-runvars: Simulate cri-getplatforms Ian Jackson
2020-10-01 16:24 ` [OSSTEST PATCH 8/8] Tolerate lack of platform-specific hosts in old Xen branches Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201001162439.18160-1-iwj@xenproject.org \
    --to=iwj@xenproject.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.