the bitrig natano_shorten branch has been created by natano. it is 0 commits behind master, and 9 commits ahead.
commit b5dc49ce500b347e270ea38862e68775df4048a8 diff: https://github.com/bitrig/bitrig/commit/b5dc49c author: Martin Natano <[email protected]> date: Mon Mar 16 19:51:21 2015 +0100 Avoid -Wshorten-64-to-32 warning in nfsm_dissect. XXX: I am not sure this can't overflow. M sys/nfs/nfsm_subs.h commit ed1aacf13002089d007f59cff252d58f86c61e34 diff: https://github.com/bitrig/bitrig/commit/ed1aacf author: Martin Natano <[email protected]> date: Sun Mar 15 18:12:58 2015 +0100 Prevent integer truncation in udelay, usleep_range and mdelay. M sys/dev/pci/drm/drmP.h commit c5c1e6f086d3c7d323489abee76b87dd66f4d0ff diff: https://github.com/bitrig/bitrig/commit/c5c1e6f author: Martin Natano <[email protected]> date: Sun Mar 15 14:04:55 2015 +0100 Use size_t for size values. M sys/arch/amd64/amd64/bios.c M sys/kern/vfs_lookup.c commit 9fac115440eaefeb5e78add2c46a78e96f1ae880 diff: https://github.com/bitrig/bitrig/commit/9fac115 author: Martin Natano <[email protected]> date: Sun Mar 15 14:02:21 2015 +0100 Some straight-forwart szmin() conversions. M sys/dev/pci/drm/drm_memory.c M sys/dev/pci/if_myx.c M sys/dev/usb/if_athn_usb.c M sys/dev/usb/if_otus.c M sys/dev/usb/if_urtwn.c M sys/dev/usb/if_zyd.c M sys/kern/kern_sig.c M sys/kern/kern_sysctl.c M sys/kern/subr_hibernate.c M sys/kern/sysv_msg.c M sys/kern/tty.c M sys/kern/tty_pty.c M sys/net/bpf.c M sys/net/if_pflog.c M sys/netinet6/icmp6.c commit 7639ccdb6155bacc6a0629a854d6e9ad7957b542 diff: https://github.com/bitrig/bitrig/commit/7639ccd author: Martin Natano <[email protected]> date: Sun Mar 15 13:27:08 2015 +0100 Explicitly truncate integer to silence -Wshorten-64-to-32 warnings. These macros purpose is to split integers into a higher and a lower part, which requires truncation. No functional change intended. M sys/sys/disklabel.h commit 2b74c8e12f6dcafadd1ade59c33fba358eaf9679 diff: https://github.com/bitrig/bitrig/commit/2b74c8e author: Martin Natano <[email protected]> date: Sun Mar 15 11:12:15 2015 +0100 Change getdisk/parsedisk to use size_t as name length. M sys/arch/armv7/armv7/autoconf.c M sys/kern/subr_disk.c M sys/sys/device.h commit 7754c899f3b7fe8e1d4bf30cd2864ed1c84cc60f diff: https://github.com/bitrig/bitrig/commit/7754c89 author: Martin Natano <[email protected]> date: Sun Mar 15 11:11:09 2015 +0100 Change getsn() to use size_t for size values. The size argument and the return value both describe the size of a memory area, thus size_t is justified. M share/man/man9/kern.9 M sys/kern/subr_userconf.c M sys/lib/libkern/getsn.c M sys/lib/libkern/libkern.h commit 50a1c43666cd939294ec75f2558a5ca83dd656dd diff: https://github.com/bitrig/bitrig/commit/50a1c43 author: Martin Natano <[email protected]> date: Sun Mar 15 10:40:37 2015 +0100 Change videoread() to use size_t for size values. This allows us to use szmin, uiomove and and avoid compiler warnings - all at the same time! M sys/dev/video.c commit 152316786d903b7eeb7b8f5b10a0634617a4d5fd diff: https://github.com/bitrig/bitrig/commit/1523167 author: Martin Natano <[email protected]> date: Sun Mar 15 10:30:12 2015 +0100 Explicitly truncate integer to avoid -Wshorten-64-to-32 warnings. The truncation is desired, because the cr0 and cr4 registers don't contain information in the upper half. No functional change intended. M sys/arch/amd64/include/cpufunc.h
