On Wed, 17 Apr 2019 02:54:14 +0200 Eric Farman <farman@xxxxxxxxxxxxx> wrote: > Fix some warnings from smatch: > > arch/s390/kvm/interrupt.c:2310 get_io_adapter() warn: potential spectre issue 'kvm->arch.adapters' [r] (local cap) > arch/s390/kvm/interrupt.c:2341 register_io_adapter() warn: potential spectre issue 'dev->kvm->arch.adapters' [w] > > Signed-off-by: Eric Farman <farman@xxxxxxxxxxxxx> > --- > A recent patch from Paolo [1] acted as a reminder (thanks, Christian!) > that I had one for the s390 KVM code after some code reviews [2]. > Let's clean that up. > > [1] https://patchwork.kernel.org/patch/10895463/ > [2] https://patchwork.kernel.org/patch/10788565/#22484223 > --- > arch/s390/kvm/interrupt.c | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>