On 17.04.19 02:54, Eric Farman 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 Thanks applied.