lkml.org 
[lkml]   [2017]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/9] virtio_pci: remove struct virtio_pci_vq_info
On Fri, Feb 03, 2017 at 03:54:36PM +0800, Jason Wang wrote:
>> + list_for_each_entry(vq, &vp_dev->vdev.vqs, list) {
>> + if (vq->callback && vring_interrupt(irq, vq) == IRQ_HANDLED)
>
> The check of vq->callback seems redundant, we will check it soon in
> vring_interrupt().

Good point - I wanted to keep things exactly as-is and dіdn't notice
we were already protected.

\
 
 \ /
  Last update: 2017-02-03 09:23    [W:0.099 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site