freebsd-dev/sys/dev/aac
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
..
aac_cam.c - Remove pointless returns. 2013-05-30 00:11:22 +00:00
aac_debug.c Give panic format string to pacify clang warning. 2012-11-09 13:58:52 +00:00
aac_disk.c Allow unmapped I/O via aacd(4). It shouldn't be too hard to add the 2013-05-30 00:22:07 +00:00
aac_linux.c Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
aac_pci.c - Fix a bug in the MSI allocation logic so an MSI is also employed if a 2013-08-06 19:14:02 +00:00
aac_tables.h - Make tables, device ID strings etc const. This includes #ifdef'ing 0 2013-03-01 19:55:10 +00:00
aac.c Allow unmapped I/O via aacd(4). It shouldn't be too hard to add the 2013-05-30 00:22:07 +00:00
aacreg.h Previously, the aac driver did not handle enclosure management AIFs, 2010-09-29 14:22:00 +00:00
aacvar.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00