Re: [kvm-unit-tests PATCH] s390x: Remove sthyi partition number check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18.02.21 09:24, Janosch Frank wrote:
Turns out that partition numbers start from 0 and not from 1 so a 0
check doesn't make sense here.

Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx>
---
  s390x/sthyi.c | 1 -
  1 file changed, 1 deletion(-)

diff --git a/s390x/sthyi.c b/s390x/sthyi.c
index d8dfc854..db90b56f 100644
--- a/s390x/sthyi.c
+++ b/s390x/sthyi.c
@@ -128,7 +128,6 @@ static void test_fcode0_par(struct sthyi_par_sctn *par)
  		report(sum, "core counts");
if (par->INFPVAL1 & PART_STSI_SUC) {
-		report(par->INFPPNUM, "number");
  		report(memcmp(par->INFPPNAM, null_buf, sizeof(par->INFPPNAM)),
  		       "name");
  	}


Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

--
Thanks,

David / dhildenb




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux