linux/drivers/infiniband/hw/ocrdma
Rasmus Villemoes f3070e7efd RDMA/ocrdma: Use unsigned for bit index
In the expressions idx/32 and idx%32, both idx and 32 have signed
type, and unfortunately the C standard prescribes rounding to 0, so
unless gcc can prove that idx is non-negative, these cannot be
implemented as simple shift respectively mask operations. Help gcc by
changing the type of idx to unsigned - this cuts another few
instructions from the generated code.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2015-02-18 08:31:06 -08:00
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma_abi.h RDMA/ocrdma: Code clean-up 2014-04-03 08:30:06 -07:00
ocrdma_ah.c RDMA/ocrdma: set vlan present bit for user AH 2015-02-18 08:31:05 -08:00
ocrdma_ah.h RDMA/ocrdma: set vlan present bit for user AH 2015-02-18 08:31:05 -08:00
ocrdma_hw.c RDMA/ocrdma: remove reference of ocrdma_dev out of ocrdma_qp structure 2015-02-18 08:31:04 -08:00
ocrdma_hw.h RDMA/ocrdma: Move PD resource management to driver. 2015-02-18 08:30:59 -08:00
ocrdma_main.c RDMA/ocrdma: Add support for interrupt moderation 2015-02-18 08:31:04 -08:00
ocrdma_sli.h RDMA/ocrdma: set vlan present bit for user AH 2015-02-18 08:31:05 -08:00
ocrdma_stats.c RDMA/ocrdma: Debugfs enhancments for ocrdma driver 2015-02-18 08:31:02 -08:00
ocrdma_stats.h RDMA/ocrdma: Debugfs enhancments for ocrdma driver 2015-02-18 08:31:02 -08:00
ocrdma_verbs.c RDMA/ocrdma: Use unsigned for bit index 2015-02-18 08:31:06 -08:00
ocrdma_verbs.h RDMA/ocrdma: For ERX2 irrespective of Qid, num_posted offset is 24 2013-09-02 21:17:55 -07:00
ocrdma.h RDMA/ocrdma: Update the ocrdma module version string 2015-02-18 08:31:05 -08:00