From: Daniele Di Proietto Date: Mon, 3 Feb 2014 22:07:43 +0000 (-0800) Subject: openvswitch: avoid warnings in vport_from_priv X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~201^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0b4da137508db3d38998eae7f62c0f9699ee08c;p=pandora-kernel.git openvswitch: avoid warnings in vport_from_priv This change, firstly, avoids declaring the formal parameter const, since it is treated as non const. (to avoid -Wcast-qual) Secondly, it cast the pointer from void* to u8*, since it is used in arithmetic (to avoid -Wpointer-arith) Signed-off-by: Daniele Di Proietto Signed-off-by: Jesse Gross --- Reading git-diff-tree failed