diff options
author | Janosch Frank <frankja@linux.ibm.com> | 2018-10-02 11:57:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-13 22:08:21 +0300 |
commit | bb1d8085e24422ac7788182ffd00d9e86540ec2a (patch) | |
tree | 1a3b396b8bc0cba74dd75288ae8caf2a53f2ce33 /drivers/hwmon | |
parent | 45d66e3d98eafffde9f7087f78e0a303e715c8b2 (diff) | |
download | linux-bb1d8085e24422ac7788182ffd00d9e86540ec2a.tar.xz |
s390/sthyi: Fix machine name validity indication
[ Upstream commit b5130dc2224d1881f24224c0590c6d97f2168d6a ]
When running as a level 3 guest with no host provided sthyi support
sclp_ocf_cpc_name_copy() will only return zeroes. Zeroes are not a
valid group name, so let's not indicate that the group name field is
valid.
Also the group name is not dependent on stsi, let's not return based
on stsi before setting it.
Fixes: 95ca2cb57985 ("KVM: s390: Add sthyi emulation")
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions