git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'mainstream'
[sliver-openvswitch.git]
/
datapath
/
vport.h
diff --git
a/datapath/vport.h
b/datapath/vport.h
index
de79d8c
..
18b723e
100644
(file)
--- a/
datapath/vport.h
+++ b/
datapath/vport.h
@@
-173,7
+173,7
@@
void ovs_vport_deferred_free(struct vport *vport);
*/
static inline void *vport_priv(const struct vport *vport)
{
- return (u8 *)vport + ALIGN(sizeof(struct vport), VPORT_ALIGN);
+ return (u8 *)
(uintptr_t)
vport + ALIGN(sizeof(struct vport), VPORT_ALIGN);
}
/**