Searched hist:258780 (Results 1 - 25 of 29) sorted by relevance
/freebsd-11-stable/sys/arm/arm/ | ||
H A D | pl190.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
H A D | db_trace.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/dev/drm2/radeon/ | ||
H A D | r600_blit_kms.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
H A D | r600_cs.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
H A D | radeon_drv.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/stand/i386/libfirewire/ | ||
H A D | fwohci.h | diff 258780 Sat Nov 30 22:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/ | ||
H A D | kbd.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/x86/iommu/ | ||
H A D | intel_reg.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/arm/freescale/imx/ | ||
H A D | imx6_usbphy.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/dev/ffec/ | ||
H A D | if_ffecreg.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/dev/usb/wlan/ | ||
H A D | if_runreg.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
H A D | if_zydreg.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/arm/samsung/exynos/ | ||
H A D | exynos5_ehci.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/powerpc/fpu/ | ||
H A D | fpu_emu.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/arm/broadcom/bcm2835/ | ||
H A D | bcm2835_dma.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/arm/freescale/vybrid/ | ||
H A D | vf_ehci.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/dev/firewire/ | ||
H A D | fwohcireg.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
H A D | sbp_targ.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
H A D | fwohci.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/arm/include/ | ||
H A D | armreg.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/dev/e1000/ | ||
H A D | e1000_82575.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
H A D | e1000_regs.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/amd64/vmm/intel/ | ||
H A D | vmcs.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/dev/agp/ | ||
H A D | agp_i810.c | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
/freebsd-11-stable/sys/dev/ahci/ | ||
H A D | ahci.h | diff 258780 Sat Nov 30 20:17:55 MST 2013 eadler Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
Completed in 483 milliseconds