freebsd-dev/sys/ofed/drivers/net/mlx4
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
..
alloc.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
catas.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
cmd.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
cq.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_cq.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_ethtool.c Fix for bad performance when mtu is increased. 2013-11-08 18:26:28 +00:00
en_frag.c Change m->pkthdr.header to m->pkthdr.PH_loc.ptr after r254804 2013-08-25 09:45:26 +00:00
en_main.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_netdev.c Fix creating a vlan over lagg over mlxen crash. 2013-11-17 20:58:31 +00:00
en_params.c
en_port.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_port.h Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_resources.c
en_rx.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
en_selftest.c
en_tx.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
eq.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
fw.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
fw.h Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
icm.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
icm.h Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
intf.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
main.c Fixed kernel crash when removing IPOIB_CM option from configuration file 2013-10-01 15:36:51 +00:00
Makefile Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
mcg.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
mlx4_en.h Do not use a sleep lock when protecting the driver flags. 2013-11-08 18:28:48 +00:00
mlx4.h Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
mr.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
pd.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
port.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
profile.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
qp.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
reset.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
resource_tracker.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
sense.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
srq.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
sys_tune.c Update OFED to Linux 3.7 and update Mellanox drivers. 2013-09-29 00:35:03 +00:00
xrcd.c