Arnd Bergmann
bcb9db49bb
mlxsw: fix warnings for big-endian 32-bit dma_addr_t
...
The recently added mlxsw driver produces warnings in ARM
allmodconfig:
drivers/net/ethernet/mellanox/mlxsw/pci.c: In function 'mlxsw_pci_cmd_exec':
drivers/net/ethernet/mellanox/mlxsw/pci.c:1585:59: warning: right shift count >= width of type [-Wshift-count-overflow]
linux/byteorder/big_endian.h:38:51: note: in definition of macro '__cpu_to_be32'
drivers/net/ethernet/mellanox/mlxsw/pci.c:76:2: note: in expansion of macro 'iowrite32be'
This uses upper_32_bits() to extract the bits while avoiding that warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Acked-by: Jiri Pirko <jiri@mellanox.com >
Fixes: eda6500a98 "mlxsw: Add PCI bus implementation"
Signed-off-by: David S. Miller <davem@davemloft.net >
2015-10-08 05:04:30 -07:00
..
2015-08-24 12:20:58 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-03-17 15:00:22 -04:00
2015-06-23 06:50:35 -07:00
2015-08-25 13:48:59 -07:00
2015-06-23 06:50:35 -07:00
2015-09-09 12:10:15 -07:00
2015-10-05 23:30:51 -07:00
2015-09-24 23:04:53 -07:00
2015-06-23 06:50:35 -07:00
2015-09-21 16:08:20 -07:00
2015-08-12 16:27:40 -07:00
2015-09-24 14:34:49 -07:00
2015-09-29 13:49:53 -07:00
2015-07-31 23:52:20 -07:00
2015-03-08 22:54:22 -04:00
2015-09-09 17:06:00 -07:00
2015-09-17 16:24:51 -07:00
2015-06-23 06:50:35 -07:00
2015-09-01 15:06:22 -07:00
2015-09-08 22:44:42 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-09-17 22:32:16 -07:00
2015-08-23 16:08:54 -07:00
2015-06-23 06:50:35 -07:00
2015-09-24 23:04:53 -07:00
2015-06-23 06:50:35 -07:00
2015-09-26 22:46:45 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-09-28 22:22:50 -07:00
2015-06-29 15:57:50 -07:00
2015-10-07 04:13:50 -07:00
2015-09-24 23:04:53 -07:00
2015-10-08 05:04:30 -07:00
2015-09-17 21:24:02 -07:00
2015-06-23 06:50:35 -07:00
2015-09-21 16:09:02 -07:00
2015-07-01 10:49:25 -07:00
2015-06-23 06:50:35 -07:00
2015-07-09 00:19:00 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-10-05 03:41:12 -07:00
2015-03-17 15:00:22 -04:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-09-17 22:32:16 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-09-26 22:48:32 -07:00
2015-08-30 21:45:01 -07:00
2015-08-27 16:28:35 -07:00
2015-03-08 22:54:22 -04:00
2015-06-23 06:50:35 -07:00
2015-08-28 13:53:47 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-29 12:52:06 -07:00
2015-08-30 21:45:01 -07:00
2015-09-15 15:05:29 -07:00
2015-09-21 16:28:36 -07:00
2015-09-06 19:48:53 -07:00
2015-06-23 06:50:35 -07:00
2015-09-23 14:37:37 -07:00
2015-07-29 15:44:59 +02:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-09-25 12:36:58 -07:00
2015-06-23 06:50:35 -07:00
2015-09-24 23:04:53 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-07-08 16:04:06 -07:00
2015-09-09 14:16:05 -07:00
2015-09-09 17:06:00 -07:00
2015-07-28 23:55:00 -07:00
2015-08-27 21:45:31 -07:00