Re: [kvm-unit-tests PATCH v5 1/8] lib: s390x: sie: Fix sie_get_validity() no validity handling

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

 



Quoting Janosch Frank (2023-06-19 10:33:22)
> Rather than asserting, we can return a value that's designated as a
> programming only value to indicate that there has been no validity.
> 
> The SIE instruction will never write 0xffff as a validity code so
> let's just use that constant.
> 
> Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx>

That's a good solution.

Reviewed-by: Nico Boehr <nrb@xxxxxxxxxxxxx>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux