Re: [PATCH v1 1/1] s390/protvirt: fix compilation issue

From: Cornelia Huck
Date: Thu Apr 23 2020 - 08:13:57 EST


On Thu, 23 Apr 2020 14:01:14 +0200
Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx> wrote:

> The kernel fails to compile with CONFIG_PROTECTED_VIRTUALIZATION_GUEST
> set but CONFIG_KVM unset.
>
> This patch fixes the issue by making the needed variable always available.
>
> Fixes: a0f60f8431999bf5 ("s390/protvirt: Add sysfs firmware interface for Ultravisor information")
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Reported-by: Philipp Rudo <prudo@xxxxxxxxxxxxx>
> Suggested-by: Philipp Rudo <prudo@xxxxxxxxxxxxx>
> CC: Vasily Gorbik <gor@xxxxxxxxxxxxx>
> Signed-off-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>
> ---
> arch/s390/boot/uv.c | 2 --
> arch/s390/kernel/uv.c | 3 ++-
> 2 files changed, 2 insertions(+), 3 deletions(-)
>

Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>