]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: avoid cast-qual warning in vport_priv
authorDaniele Di Proietto <daniele.di.proietto@gmail.com>
Mon, 3 Feb 2014 22:08:29 +0000 (14:08 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 16 May 2014 20:40:28 +0000 (13:40 -0700)
commit29d86cb5b99a617f89afe4492184eccb84735248
tree0e2b7f593aec3d028874a55780fcdd82ed3d0269
parentba3ffb8434eb1c6ce5df9126676d4e717a49c1fb
openvswitch: avoid cast-qual warning in vport_priv

This function must cast a const value to a non const value.
By adding an uintptr_t cast the warning is suppressed.
To avoid the cast (proper solution) several function signatures
must be changed.

Signed-off-by: Daniele Di Proietto <daniele.di.proietto@gmail.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/vport.h