]> git.proxmox.com Git - mirror_ovs.git/commit
netdev: Make netdev_set_mtu() netdev parameter non-const.
authorDaniele Di Proietto <diproiettod@vmware.com>
Tue, 9 Aug 2016 16:01:19 +0000 (17:01 +0100)
committerDaniele Di Proietto <diproiettod@vmware.com>
Sat, 13 Aug 2016 02:32:12 +0000 (19:32 -0700)
commit4124cb1254dff0f1f6c4d7d6f730f0a5698c54f4
treec7d984be2ad9e349f40ff8cdec46e8e6da69d603
parent56abcf497b5615d2c30f62bec5af81a38145ecbc
netdev: Make netdev_set_mtu() netdev parameter non-const.

Every provider silently drops the const attribute when converting the
parameter to the appropriate subclass.  Might as well drop the const
attribute from the parameter, since this is a "set" function.

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ilya Maximets <i.maximets@samsung.com>
lib/netdev-dummy.c
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev.c
lib/netdev.h