CC: [email protected] CC: [email protected] TO: "Ahmed S. Darwish" <[email protected]> CC: Peter Zijlstra <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 15bc20c6af4ceee97a1f90b43c0e386643c071b4 commit: 55f3560df975f557c48aa6afc636808f31ecb87a seqlock: Extend seqcount API with associated locks date: 4 weeks ago :::::: branch date: 23 hours ago :::::: commit date: 4 weeks ago config: x86_64-randconfig-m001-20200827 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: arch/x86/kvm/../../../virt/kvm/eventfd.c:251 irqfd_update() warn: statement has no effect 31 arch/x86/kvm/../../../virt/kvm/eventfd.c:546 kvm_irqfd_deassign() warn: statement has no effect 31 arch/x86/kvm/x86.c:1703 update_pvclock_gtod() warn: statement has no effect 31 # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=55f3560df975f557c48aa6afc636808f31ecb87a git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 55f3560df975f557c48aa6afc636808f31ecb87a vim +251 arch/x86/kvm/../../../virt/kvm/eventfd.c 721eecbf4fe995 Gregory Haskins 2009-05-20 241 bd2b53b20fcd0d Michael S. Tsirkin 2010-11-18 242 /* Must be called under irqfds.lock */ 166c9775f1f8b8 Eric Auger 2015-09-18 243 static void irqfd_update(struct kvm *kvm, struct kvm_kernel_irqfd *irqfd) bd2b53b20fcd0d Michael S. Tsirkin 2010-11-18 244 { bd2b53b20fcd0d Michael S. Tsirkin 2010-11-18 245 struct kvm_kernel_irq_routing_entry *e; 8ba918d488cade Paul Mackerras 2014-06-30 246 struct kvm_kernel_irq_routing_entry entries[KVM_NR_IRQCHIPS]; 351dc6477cd351 Andrey Smetanin 2015-10-16 247 int n_entries; 8ba918d488cade Paul Mackerras 2014-06-30 248 9957c86d659a4d Paul Mackerras 2014-06-30 249 n_entries = kvm_irq_map_gsi(kvm, entries, irqfd->gsi); bd2b53b20fcd0d Michael S. Tsirkin 2010-11-18 250 56f89f3629ffd1 Paul Mackerras 2014-06-30 @251 write_seqcount_begin(&irqfd->irq_entry_sc); 56f89f3629ffd1 Paul Mackerras 2014-06-30 252 8ba918d488cade Paul Mackerras 2014-06-30 253 e = entries; 351dc6477cd351 Andrey Smetanin 2015-10-16 254 if (n_entries == 1) 56f89f3629ffd1 Paul Mackerras 2014-06-30 255 irqfd->irq_entry = *e; 351dc6477cd351 Andrey Smetanin 2015-10-16 256 else 351dc6477cd351 Andrey Smetanin 2015-10-16 257 irqfd->irq_entry.type = 0; 56f89f3629ffd1 Paul Mackerras 2014-06-30 258 56f89f3629ffd1 Paul Mackerras 2014-06-30 259 write_seqcount_end(&irqfd->irq_entry_sc); bd2b53b20fcd0d Michael S. Tsirkin 2010-11-18 260 } bd2b53b20fcd0d Michael S. Tsirkin 2010-11-18 261 :::::: The code at line 251 was first introduced by commit :::::: 56f89f3629ffd1a21d38c3d0bea23deac0e284ce KVM: Don't keep reference to irq routing table in irqfd struct :::::: TO: Paul Mackerras <[email protected]> :::::: CC: Paolo Bonzini <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
