freebsd-dev/sys/dev/mpt
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
..
mpilib Consistently update to the MPI header set version 01.05.20 after r224761. 2012-03-24 16:23:21 +00:00
mpt_cam.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
mpt_cam.h
mpt_debug.c After r241858, remove the remainder of FreeBSD ~4 support from mpt(4). 2012-10-22 10:42:59 +00:00
mpt_pci.c Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
mpt_raid.c Explicitly use a pair of parentheses to ensure correct evaluation 2013-05-31 17:27:44 +00:00
mpt_raid.h - Send the RELSIM_ADJUST_OPENINGS in response to a MPI_EVENT_QUEUE_FULL using 2011-07-29 18:38:31 +00:00
mpt_reg.h Flesh out support for SAS1078 and SAS1078DE (which are said to actually 2012-02-11 12:03:44 +00:00
mpt_user.c Explicitly use a pair of parentheses to ensure correct evaluation 2013-05-31 17:27:44 +00:00
mpt.c After r241858, remove the remainder of FreeBSD ~4 support from mpt(4). 2012-10-22 10:42:59 +00:00
mpt.h Remove support for using Giant for locking within mpt(4). Finer grained 2012-10-22 10:53:59 +00:00