Or Gerlitz
a61d5ce9cc
net/mlx5: Fix static checker warnings
...
For some reason, sparse doesn't like using an expression of type (!x)
with a bitwise | and &. In order to mitigate that, we use a local variable.
This removes the following sparse complaints on the core driver
(and similar ones on the IB driver too):
drivers/net/ethernet/mellanox/mlx5/core/srq.c:83:9: warning: dubious: !x & y
drivers/net/ethernet/mellanox/mlx5/core/srq.c:96:9: warning: dubious: !x & y
drivers/net/ethernet/mellanox/mlx5/core/port.c:59:9: warning: dubious: !x & y
drivers/net/ethernet/mellanox/mlx5/core/vport.c:561:9: warning: dubious: !x & y
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com >
Signed-off-by: Matan Barak <matanb@mellanox.com >
Reported-by: Bart Van Assche <bart.vanassche@sandisk.com >
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com >
2017-02-06 11:21:34 +02:00
..
2016-12-14 20:42:45 -08:00
2017-02-02 16:54:00 -05:00
2016-12-16 11:23:34 -08:00
2016-11-29 15:51:49 -06:00
2016-11-29 09:17:20 +01:00
2017-01-19 09:57:20 +01:00
2016-12-31 14:35:04 +00:00
2016-12-25 11:04:12 +01:00
2016-12-19 08:16:26 -08:00
2017-01-30 15:26:43 -05:00
2017-02-06 11:21:34 +02:00
2017-01-20 11:47:57 +02:00
2016-11-29 18:28:30 -08:00
2017-01-09 17:24:53 +01:00
2016-12-14 10:49:33 -08:00
2016-12-17 20:17:04 -08:00
2016-11-23 23:37:27 +01:00
2017-01-01 21:02:14 -05:00
2016-12-05 11:38:30 +00:00
2017-01-12 12:43:41 +02:00
2017-01-24 15:29:24 -05:00
2016-12-13 11:10:36 -08:00
2016-12-06 16:57:33 +01:00
2016-12-15 12:46:48 -08:00
2016-12-05 14:31:24 -05:00
2016-12-22 22:58:37 -05:00
2016-12-01 14:45:08 +01:00
2016-12-05 19:00:38 -05:00
2016-12-13 10:19:16 -08:00
2016-12-09 08:30:51 -07:00
2016-12-01 07:58:40 -07:00
2016-12-14 10:49:33 -08:00
2017-01-13 15:17:04 -07:00
2017-01-25 13:17:47 -05:00
2016-12-08 13:31:11 -05:00
2016-12-17 11:14:25 -05:00
2017-01-28 10:33:06 -05:00
2017-01-27 11:29:18 -05:00
2016-12-22 09:25:45 -08:00
2016-11-22 13:21:00 -06:00
2016-11-25 16:25:52 -05:00
2016-12-08 16:37:33 -08:00
2016-12-25 11:04:12 +01:00
2016-12-12 18:55:08 -08:00
2016-12-12 18:55:09 -08:00
2016-12-21 10:16:05 -08:00
2016-12-13 11:18:24 -08:00
2017-01-14 19:32:40 -05:00
2016-12-25 10:47:43 +01:00
2016-11-21 14:35:43 +01:00
2017-01-16 13:20:05 +01:00
2016-11-29 14:02:21 +01:00
2016-12-15 11:32:31 +01:00
2016-12-17 16:00:34 -08:00
2016-12-26 20:29:24 -08:00
2016-12-03 20:51:49 -05:00
2016-12-05 19:01:16 -05:00
2016-12-13 11:42:18 -08:00
2016-11-23 10:07:35 +08:00
2017-01-20 11:43:17 -05:00
2016-12-14 16:04:08 -08:00
2016-11-30 08:54:04 +05:30
2016-12-25 11:04:12 +01:00
2016-12-15 08:58:12 -02:00
2017-01-14 16:48:53 +01:00
2016-12-09 09:03:02 -07:00
2017-01-29 19:24:12 -05:00
2016-11-25 10:15:13 -08:00
2016-12-05 19:01:16 -05:00
2017-01-16 14:03:31 -05:00
2016-12-19 08:23:53 -08:00
2017-01-31 13:23:09 -05:00
2016-12-11 16:33:18 -05:00
2016-12-05 15:13:58 +01:00
2017-01-05 23:06:06 -08:00
2016-12-05 18:58:32 -05:00
2016-12-15 13:49:34 -08:00
2016-12-25 17:21:22 +01:00
2016-11-29 15:57:42 +00:00
2016-12-22 11:48:20 -07:00
2017-01-10 18:31:55 -08:00
2016-12-14 10:12:26 +01:00
2016-12-25 17:21:22 +01:00
2016-12-14 16:04:09 -08:00
2016-11-21 22:50:45 +08:00
2016-12-09 21:54:22 -08:00
2016-12-06 11:52:49 +01:00
2016-11-24 16:22:06 +01:00
2017-01-12 20:06:15 +01:00
2016-12-14 16:04:10 -08:00
2017-01-05 13:37:28 +01:00
2016-11-27 20:38:47 -05:00
2017-02-03 15:21:21 -05:00
2017-01-27 11:32:26 -05:00
2016-12-20 09:48:44 -08:00
2016-11-27 16:15:33 -08:00
2016-11-19 09:42:35 -08:00
2016-11-30 14:36:01 +11:00
2016-12-06 17:32:16 +01:00
2017-01-27 10:25:34 -05:00
2016-12-24 11:46:01 -08:00
2017-01-12 14:33:16 +01:00
2016-12-14 16:04:08 -08:00
2017-01-17 10:56:45 -08:00
2016-12-16 09:26:42 -08:00
2016-12-12 18:55:06 -08:00
2016-12-25 17:21:23 +01:00
2016-12-13 15:47:02 -08:00
2016-11-22 12:07:05 +01:00
2016-12-06 16:08:10 -08:00
2016-11-29 12:12:51 -07:00
2017-02-03 16:35:42 -05:00
2016-11-30 14:32:25 +11:00
2017-02-02 22:05:28 -05:00
2016-11-29 18:02:58 +01:00
2017-01-04 13:22:38 -07:00
2017-01-24 13:37:50 -05:00
2016-12-06 11:05:46 +01:00
2017-01-10 18:31:55 -08:00
2017-01-24 16:26:14 -08:00
2016-12-12 18:55:07 -08:00
2017-01-27 11:10:50 -05:00
2016-12-17 20:17:04 -08:00
2017-01-10 18:31:55 -08:00
2016-12-18 11:12:53 -08:00
2017-01-10 18:31:54 -08:00
2017-01-24 16:26:14 -08:00
2016-12-14 16:33:38 +01:00
2016-11-26 11:18:02 -08:00
2016-12-16 16:34:52 -05:00
2017-01-18 15:43:59 -05:00
2017-01-12 16:48:26 -05:00
2017-02-03 17:28:29 -05:00
2017-02-05 16:11:57 -05:00
2016-12-06 21:48:21 +01:00
2016-12-06 21:42:16 +01:00
2017-01-24 12:50:47 -05:00
2016-12-19 17:29:44 -05:00
2016-12-09 23:47:10 -05:00
2017-01-24 16:26:14 -08:00
2016-12-24 11:23:24 -08:00
2016-12-06 10:17:56 +02:00
2016-12-06 10:17:56 +02:00
2016-12-13 10:19:16 -08:00
2016-12-12 18:55:07 -08:00
2016-11-29 15:57:43 +00:00
2016-11-29 23:17:02 -05:00
2016-12-29 11:03:15 -08:00
2016-12-25 11:54:48 -08:00
2017-02-03 16:35:42 -05:00
2016-12-06 10:17:03 +02:00
2016-12-15 12:46:48 -08:00
2016-12-06 13:45:48 -06:00
2016-12-06 13:45:50 -06:00
2017-01-20 11:43:17 -05:00
2017-01-28 07:49:42 -05:00
2017-01-14 11:06:49 +01:00
2017-01-25 14:40:19 -05:00
2017-01-28 10:33:06 -05:00
2016-12-06 02:27:59 +01:00
2016-12-13 11:42:18 -08:00
2016-11-29 18:02:58 +01:00
2016-12-13 11:42:18 -08:00
2016-12-24 11:46:01 -08:00
2016-12-06 10:32:40 +01:00
2016-12-12 18:55:09 -08:00
2016-12-13 16:07:55 -08:00
2016-12-12 19:56:15 -08:00
2016-11-22 12:57:38 -06:00
2016-12-19 08:23:53 -08:00
2016-12-05 19:03:06 -05:00
2017-01-07 18:22:40 -08:00
2016-12-20 09:48:47 -08:00
2017-01-14 21:23:48 -08:00
2016-12-30 03:26:31 -08:00
2016-12-02 00:52:34 +01:00
2016-12-12 18:55:08 -08:00
2016-12-12 11:26:47 -08:00
2017-01-10 18:31:55 -08:00
2017-01-18 14:55:09 -05:00
2016-12-16 00:13:41 +02:00
2016-12-14 16:04:07 -08:00
2017-01-09 13:58:57 -05:00
2017-02-03 16:58:20 -05:00
2017-01-10 18:31:54 -08:00
2017-01-09 16:07:38 -05:00
2016-11-22 17:48:04 -05:00
2017-01-09 14:54:29 -05:00
2017-01-20 03:33:57 +01:00
2017-01-10 18:31:55 -08:00
2017-01-06 13:00:01 -05:00
2017-02-03 11:19:34 -05:00
2016-11-23 10:06:12 +08:00
2016-12-25 17:21:22 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2017-01-10 18:31:55 -08:00
2017-02-03 15:50:18 -05:00
2016-11-22 17:40:00 -05:00
2016-12-09 09:13:30 -05:00
2016-12-09 09:13:30 -05:00
2016-12-25 11:04:12 +01:00
2016-12-09 22:12:21 -05:00
2016-12-16 10:24:44 -08:00
2016-12-11 18:01:51 -08:00
2016-12-14 16:04:09 -08:00
2016-12-01 10:40:05 -07:00
2017-01-20 11:01:17 -05:00
2016-12-12 18:55:08 -08:00
2016-12-06 11:03:22 +01:00
2016-12-25 17:21:22 +01:00
2016-12-13 12:59:57 -08:00
2016-12-25 11:54:48 -08:00
2016-12-06 10:42:03 +01:00