dan.carpenter@oracle.com
51ace2618a
spi: spi-xilinx: cleanup a check in xilinx_spi_txrx_bufs()
...
commit e33d085d11e54bc9fb07b2555cd104d8e7b3089b upstream.
'!' has higher precedence than comparisons so the original condition
is equivalent to "if (xspi->remaining_bytes == 0)". This makes the
static checkers complain.
xspi->remaining_bytes is signed and from looking at the code
briefly, I think it might be able to go negative. I suspect that
going negative may cause a bug, but I don't have the hardware and
can't test.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Mark Brown <broonie@linaro.org >
Signed-off-by: Willy Tarreau <w@1wt.eu >
2016-08-27 11:40:41 +02:00
..
2016-08-21 23:22:33 +02:00
2016-08-27 11:40:28 +02:00
2015-09-21 10:00:09 -07:00
2016-08-27 11:40:24 +02:00
2016-06-07 10:42:52 +02:00
2016-06-07 10:42:55 +02:00
2015-07-03 19:48:09 -07:00
2016-02-19 14:22:38 -08:00
2016-06-07 10:42:52 +02:00
2016-03-03 15:06:20 -08:00
2016-01-28 21:49:33 -08:00
2015-03-06 14:40:48 -08:00
2015-08-03 09:29:41 -07:00
2016-08-27 11:40:19 +02:00
2015-08-03 09:29:46 -07:00
2016-06-07 10:42:51 +02:00
2016-01-22 19:47:53 -08:00
2016-06-07 10:42:51 +02:00
2016-08-27 11:40:35 +02:00
2016-08-21 23:22:47 +02:00
2016-08-27 11:40:40 +02:00
2016-06-07 10:42:52 +02:00
2016-06-07 10:42:48 +02:00
2016-06-07 10:42:51 +02:00
2016-08-27 11:40:26 +02:00
2016-08-27 11:40:22 +02:00
2016-08-21 23:22:42 +02:00
2016-02-25 11:57:49 -08:00
2016-08-27 11:40:41 +02:00
2015-06-05 23:19:54 -07:00
2015-10-22 14:37:49 -07:00
2016-08-27 11:40:39 +02:00
2016-08-27 11:40:41 +02:00
2015-05-06 21:56:28 +02:00
2016-06-07 10:42:55 +02:00
2016-06-07 10:42:52 +02:00
2016-08-27 11:40:32 +02:00
2016-08-27 11:40:38 +02:00
2016-08-27 11:40:33 +02:00
2015-09-21 10:00:09 -07:00
2016-01-28 21:49:36 -08:00
2015-05-06 21:56:26 +02:00
2016-08-21 23:22:43 +02:00
2015-08-03 09:29:41 -07:00
2015-08-03 09:29:42 -07:00
2016-08-27 11:40:36 +02:00
2016-06-07 10:42:53 +02:00
2016-03-03 15:06:20 -08:00
2015-08-03 09:29:41 -07:00
2016-02-19 14:22:37 -08:00
2016-06-07 10:42:51 +02:00
2016-08-27 11:40:32 +02:00
2016-08-27 11:40:39 +02:00
2016-08-27 11:40:41 +02:00
2016-08-27 11:40:25 +02:00
2016-02-25 11:57:47 -08:00
2016-08-27 11:40:26 +02:00
2016-08-21 23:22:35 +02:00
2015-01-27 07:52:32 -08:00
2015-10-01 12:07:34 +02:00
2016-06-07 10:42:51 +02:00
2016-08-27 11:40:37 +02:00
2016-06-07 10:42:46 +02:00
2016-08-27 11:40:30 +02:00