diff options
Diffstat (limited to 'net/openvswitch/patches/0002-netdev-linux-Use-unsigned-int-for-ifi_flags.patch')
-rw-r--r-- | net/openvswitch/patches/0002-netdev-linux-Use-unsigned-int-for-ifi_flags.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/openvswitch/patches/0002-netdev-linux-Use-unsigned-int-for-ifi_flags.patch b/net/openvswitch/patches/0002-netdev-linux-Use-unsigned-int-for-ifi_flags.patch new file mode 100644 index 000000000..19c774799 --- /dev/null +++ b/net/openvswitch/patches/0002-netdev-linux-Use-unsigned-int-for-ifi_flags.patch @@ -0,0 +1,28 @@ +From 12edcd800d924f69630768eeece842373dee5bb0 Mon Sep 17 00:00:00 2001 +From: Helmut Schaa <helmut.schaa@googlemail.com> +Date: Wed, 8 Jan 2014 13:48:33 +0100 +Subject: [PATCH 1/2] netdev-linux: Use unsigned int for ifi_flags + +ifi_flags is unsigned, the local equivalents should do the same. + +Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> +--- + lib/netdev-linux.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c +index 9bdbbdf..9eaac33 100644 +--- a/lib/netdev-linux.c ++++ b/lib/netdev-linux.c +@@ -2566,7 +2566,7 @@ update_flags(struct netdev_linux *netdev, enum netdev_flags off, + enum netdev_flags on, enum netdev_flags *old_flagsp) + OVS_REQUIRES(netdev->mutex) + { +- int old_flags, new_flags; ++ unsigned int old_flags, new_flags; + int error = 0; + + old_flags = netdev->ifi_flags; +-- +1.8.1.4 + |