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
..
2013-05-09 09:59:16 -07:00
2013-04-07 10:08:00 +01:00
2013-02-05 12:26:59 +00:00
2014-03-23 21:38:16 -07:00
2016-02-19 14:22:38 -08:00
2013-02-05 14:43:16 +00:00
2014-02-13 13:48:01 -08:00
2013-04-01 14:14:33 +01:00
2013-02-05 14:43:16 +00:00
2013-02-05 12:26:59 +00:00
2011-06-06 01:16:30 -06:00
2013-02-05 12:30:13 +00:00
2011-10-31 19:32:17 -04:00
2013-02-05 12:26:59 +00:00
2013-02-05 12:26:59 +00:00
2013-08-11 18:35:25 -07:00
2015-02-05 22:35:36 -08:00
2012-12-07 17:06:43 +00:00
2012-12-07 17:06:43 +00:00
2014-12-06 15:05:49 -08:00
2011-09-21 09:41:48 -06:00
2013-02-21 12:05:51 -08:00
2013-02-05 17:16:55 +00:00
2013-04-07 10:07:54 +01:00
2013-04-07 10:07:54 +01:00
2012-12-07 17:06:43 +00:00
2013-04-07 10:07:54 +01:00
2013-04-07 10:07:57 +01:00
2013-04-07 10:07:57 +01:00
2013-04-07 10:07:56 +01:00
2013-04-10 14:47:09 +01:00
2013-02-05 13:17:12 +00:00
2012-05-19 23:42:08 -06:00
2012-12-07 17:06:43 +00:00
2012-12-07 17:06:43 +00:00
2013-04-09 17:53:39 +01:00
2013-05-07 11:06:17 -07:00
2012-12-07 17:06:43 +00:00
2013-04-01 14:27:09 +01:00
2012-12-07 17:06:43 +00:00
2014-09-17 09:03:57 -07:00
2013-02-05 14:43:16 +00:00
2013-02-05 14:43:16 +00:00
2014-09-17 09:03:57 -07:00
2015-03-26 15:00:58 +01:00
2013-02-20 11:04:46 -08:00
2013-06-18 19:11:04 +01:00
2013-03-12 18:30:56 +00:00
2013-02-08 12:15:21 +00:00
2015-10-22 14:37:50 -07:00
2013-02-08 13:14:40 +00:00
2012-12-07 17:06:43 +00:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2012-12-07 17:06:43 +00:00
2013-06-10 18:04:00 +01:00
2012-08-23 12:13:54 +01:00
2013-06-04 18:51:40 +01:00
2013-04-01 14:27:14 +01:00
2011-10-31 19:32:17 -04:00
2012-12-07 17:06:43 +00:00
2013-04-23 19:27:00 +01:00
2013-05-18 11:57:24 +02:00
2013-04-08 13:41:34 +01:00
2013-04-07 10:08:00 +01:00
2012-12-07 17:06:43 +00:00
2012-12-07 17:06:43 +00:00
2013-05-22 11:08:36 -05:00
2013-02-05 14:43:16 +00:00
2012-12-07 17:06:43 +00:00
2016-08-27 11:40:41 +02:00
2016-02-19 14:22:38 -08:00
2015-05-06 21:56:21 +02:00