Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src

Module Name:    src
Committed By:   drochner
Date:           Tue Jan 20 18:20:48 UTC 2009

Modified Files:
        src/include: stdlib.h
        src/lib/libc/compat/include: stdlib.h
        src/lib/libc/gen: devname.c getdevmajor.c
        src/sys/dev/drm: drm_drv.c
        src/sys/dev/pud: pud.c
        src/sys/dev/putter: putter.c
        src/sys/dev/usb: ucom.c ucycom.c ugen.c urio.c
        src/sys/kern: subr_devsw.c
        src/sys/sys: conf.h sysctl.h types.h
        src/usr.bin/config: defs.h files.c mkdevsw.c mkioconf.c mkswap.c sem.c

Log Message:
Change major()/minor() to return 32-bit types again, called
devmajor_t/devminor_t, as proposed on tech-kern.
This avoids 64-bit arithmetics and 64-bit printf formats in parts
of the kernel where it is not really useful, and helps clarity.

To generate a diff of this commit:
cvs rdiff -r1.86 -r1.87 src/include/stdlib.h
cvs rdiff -r1.2 -r1.3 src/lib/libc/compat/include/stdlib.h
cvs rdiff -r1.18 -r1.19 src/lib/libc/gen/devname.c
cvs rdiff -r1.3 -r1.4 src/lib/libc/gen/getdevmajor.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/drm/drm_drv.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/pud/pud.c
cvs rdiff -r1.18 -r1.19 src/sys/dev/putter/putter.c
cvs rdiff -r1.78 -r1.79 src/sys/dev/usb/ucom.c
cvs rdiff -r1.24 -r1.25 src/sys/dev/usb/ucycom.c
cvs rdiff -r1.100 -r1.101 src/sys/dev/usb/ugen.c
cvs rdiff -r1.31 -r1.32 src/sys/dev/usb/urio.c
cvs rdiff -r1.23 -r1.24 src/sys/kern/subr_devsw.c
cvs rdiff -r1.132 -r1.133 src/sys/sys/conf.h
cvs rdiff -r1.182 -r1.183 src/sys/sys/sysctl.h
cvs rdiff -r1.82 -r1.83 src/sys/sys/types.h
cvs rdiff -r1.26 -r1.27 src/usr.bin/config/defs.h
cvs rdiff -r1.8 -r1.9 src/usr.bin/config/files.c
cvs rdiff -r1.6 -r1.7 src/usr.bin/config/mkdevsw.c \
cvs rdiff -r1.12 -r1.13 src/usr.bin/config/mkioconf.c
cvs rdiff -r1.31 -r1.32 src/usr.bin/config/sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index