freebsd-nq/sys/dev/bktr
Eitan Adler 7a22215c53 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
2013-11-30 22:17:27 +00:00
..
bktr_audio.c
bktr_audio.h
bktr_card.c
bktr_card.h
bktr_core.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
bktr_core.h
bktr_i2c.c
bktr_i2c.h
bktr_mem.c
bktr_mem.h
bktr_os.c Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
bktr_os.h
bktr_reg.h
bktr_tuner.c
bktr_tuner.h
CHANGELOG.TXT - Corrrect mispellings of word useful 2013-04-17 11:45:15 +00:00
ioctl_bt848.h
ioctl_meteor.h
msp34xx.c Pass a format string to kproc_create() [1] and thus fix the build with 2013-04-30 05:08:17 +00:00