git: kernel: Fix the type of 'cmd' in various ioctl functions (int -> u_long).

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Feb 16 01:30:24 PST 2017


commit 1647c7bd435093709089283aa68ef831b34caef9
Author: Sascha Wildner <saw at online.de>
Date:   Thu Feb 16 10:24:49 2017 +0100

    kernel: Fix the type of 'cmd' in various ioctl functions (int -> u_long).
    
    These were all found by clang's -Wswitch option.

Summary of changes:
 sys/bus/cam/cam_periph.c      | 3 +--
 sys/bus/cam/cam_periph.h      | 3 +--
 sys/kern/subr_diskiocom.c     | 2 +-
 sys/net/ip_mroute/ip_mroute.c | 4 ++--
 sys/netinet6/ip6_mroute.c     | 2 +-
 sys/netinet6/ip6_mroute.h     | 2 +-
 sys/sys/disk.h                | 3 +--
 7 files changed, 8 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1647c7bd435093709089283aa68ef831b34caef9


-- 
DragonFly BSD source repository


More information about the Commits mailing list