git: kernel: Fix some -Wint-in-bool-context warnings.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Sep 5 17:57:36 PDT 2018


commit 9e2814118aabe1f24cf0048501b294f73e8c15e9
Author: Sascha Wildner <saw at online.de>
Date:   Thu Sep 6 02:57:10 2018 +0200

    kernel: Fix some -Wint-in-bool-context warnings.
    
    I.e., stop treating integers like booleans. In ix(4) I commented out
    a problematic function that returns bool but tries to return -1 if
    there was an error.

Summary of changes:
 sys/dev/netif/ix/ixgbe_api.c | 2 ++
 sys/dev/netif/ix/ixgbe_api.h | 2 ++
 sys/netinet/in.c             | 4 ++--
 3 files changed, 6 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9e2814118aabe1f24cf0048501b294f73e8c15e9


-- 
DragonFly BSD source repository


More information about the Commits mailing list