commit | d0b4da137508db3d38998eae7f62c0f9699ee08c | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <daniele.di.proietto@gmail.com> | Mon Feb 03 14:07:43 2014 -0800 |
committer | Jesse Gross <jesse@nicira.com> | Fri May 16 13:40:28 2014 -0700 |
tree | ef820a32b1e1e263e0175df766f584e910c32072 | |
parent | 7085130bab2f9c5b8d61bff73b01dc8195d0f974 [diff] |
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 <daniele.di.proietto@gmail.com> Signed-off-by: Jesse Gross <jesse@nicira.com>