[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1274284249-29398-1-git-send-email-Jes.Sorensen@redhat.com>
Date: Wed, 19 May 2010 17:50:48 +0200
From: Jes.Sorensen@...hat.com
To: rusty@...tcorp.com.au
Cc: mst@...hat.com, linux-kernel@...r.kernel.org,
Jes Sorensen <Jes.Sorensen@...hat.com>
Subject: [PATCH] virtio_blk.c: Add documentation for vring_enable_cb()
From: Jes Sorensen <Jes.Sorensen@...hat.com>
Hi,
This patch adds a bit of documentation to vring_enable_cb() to make it
crystal clear that the function returns false when there is more work
to do and true when the queue is empty.
I wasted several hours trying to figure out why a piece of code wasn't
working due to this, and I know others hit the same problem. Hopefully
this can save a bit of suffering for others in the future.
Cheers,
Jes
Jes Sorensen (1):
Add documentation for vring_enable_cb()
drivers/virtio/virtio_ring.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists