Displaying 2 results from an estimated 2 matches for "5de09f9".
Did you mean:
5d1e89f9
2007 Nov 15
0
[PATCH] Fix vring_init/vring_size to take unsigned long
...der my previous patch to just use PAGE_ALIGN(). Open coding this
sort of stuff, no matter how simple it seems, is just asking for this sort of
trouble.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/include/linux/virtio_ring.h b/include/linux/virtio_ring.h
index 1a4ed49..5de09f9 100644
--- a/include/linux/virtio_ring.h
+++ b/include/linux/virtio_ring.h
@@ -89,7 +89,7 @@ struct vring {
* };
*/
static inline void vring_init(struct vring *vr, unsigned int num, void *p,
- unsigned int pagesize)
+ unsigned long pagesize)
{
vr->num = num;
vr->desc...
2007 Nov 15
0
[PATCH] Fix vring_init/vring_size to take unsigned long
...der my previous patch to just use PAGE_ALIGN(). Open coding this
sort of stuff, no matter how simple it seems, is just asking for this sort of
trouble.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/include/linux/virtio_ring.h b/include/linux/virtio_ring.h
index 1a4ed49..5de09f9 100644
--- a/include/linux/virtio_ring.h
+++ b/include/linux/virtio_ring.h
@@ -89,7 +89,7 @@ struct vring {
* };
*/
static inline void vring_init(struct vring *vr, unsigned int num, void *p,
- unsigned int pagesize)
+ unsigned long pagesize)
{
vr->num = num;
vr->desc...