Commit 6fac592cca60 ("xen: update ring.h") missed to fix one use case of RING_HAS_UNCONSUMED_REQUESTS().
Unified · Split
| @@ -828,7 +828,7 @@ static void xenvif_tx_build_gops(struct xenvif_queue *queue, · 827 unmodified lines | ||
| 828 | 828 | break; |
| 829 | 829 | } |
| 830 | 830 | |
| 831 | − work_to_do = RING_HAS_UNCONSUMED_REQUESTS(&queue->tx); | |
| 831 | + work_to_do = XEN_RING_NR_UNCONSUMED_REQUESTS(&queue->tx); | |
| 832 | 832 | if (!work_to_do) |
| 833 | 833 | break; |
| 834 | 834 | |