search for: 8b877167933d

Displaying 4 results from an estimated 4 matches for "8b877167933d".

2023 Apr 10
1
[PATCH] tools/virtio: fix build caused by virtio_ring changes
...-8,4 +8,7 @@ #define READ_ONCE(var) (*((volatile typeof(var) *)(&(var)))) #define __aligned(x) __attribute((__aligned__(x))) + +#define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) + #endif diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h index 8b877167933d..3cd20cb92649 100644 --- a/tools/virtio/linux/kernel.h +++ b/tools/virtio/linux/kernel.h @@ -10,6 +10,7 @@ #include <stdarg.h> #include <linux/compiler.h> +#include <linux/container_of.h> #include <linux/log2.h> #include <linux/types.h> #include <linux/overfl...
2023 Apr 10
2
[PATCH v2 2/2] tools/virtio: fix build caused by virtio_ring changes
...pt to try to keep things in sync (hint, they will always be out of sync.) > > + > > #define WRITE_ONCE(var, val) \ > > (*((volatile typeof(val) *)(&(var))) = (val)) > > > > diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h > > index 8b877167933d..6702008f7f5c 100644 > > --- a/tools/virtio/linux/kernel.h > > +++ b/tools/virtio/linux/kernel.h > > @@ -10,6 +10,7 @@ > > #include <stdarg.h> > > > > #include <linux/compiler.h> > > +#include "../../../include/linux/container_of.h&quot...
2023 Apr 17
1
[PATCH v3 RESEND 1/2] virtio_ring: add a struct device forward declaration
The virtio_ring header file uses the struct device without a forward declaration. Signed-off-by: Shunsuke Mie <mie at igel.co.jp> --- Changes from v2: https://lore.kernel.org/virtualization/20230410074929-mutt-send-email-mst at kernel.org/ - Fix a typo of commit title include/linux/virtio_ring.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/virtio_ring.h
2023 Apr 10
2
[PATCH v2 1/2] virtio_ring: add a struce device forward declaration
The virtio_ring header file uses the struct device without a forward declaration. Signed-off-by: Shunsuke Mie <mie at igel.co.jp> --- include/linux/virtio_ring.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/virtio_ring.h b/include/linux/virtio_ring.h index 8b95b69ef694..77a9c2f52919 100644 --- a/include/linux/virtio_ring.h +++ b/include/linux/virtio_ring.h @@ -58,6