You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
899 B

  1. From c27232c954cdbe0207252ad88fddad4fd6ac0fbc Mon Sep 17 00:00:00 2001
  2. From: Helmut Schaa <helmut.schaa@googlemail.com>
  3. Date: Wed, 8 Jan 2014 13:48:33 +0100
  4. Subject: [PATCH 100/104] netdev-linux: Use unsigned int for ifi_flags
  5. ifi_flags is unsigned, the local equivalents should do the same.
  6. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
  7. ---
  8. lib/netdev-linux.c | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
  11. index c0471be15..0750e5f2c 100644
  12. --- a/lib/netdev-linux.c
  13. +++ b/lib/netdev-linux.c
  14. @@ -2788,7 +2788,7 @@ update_flags(struct netdev_linux *netdev, enum netdev_flags off,
  15. enum netdev_flags on, enum netdev_flags *old_flagsp)
  16. OVS_REQUIRES(netdev->mutex)
  17. {
  18. - int old_flags, new_flags;
  19. + unsigned int old_flags, new_flags;
  20. int error = 0;
  21. old_flags = netdev->ifi_flags;
  22. --
  23. 2.16.2