Colin Ian King
6d310dfb38
scsi_debug: test always evaluates to false, || should be used instead
...
cppcheck found the following issue:
(warning) Logical conjunction always evaluates to false:
alloc_len < 4 && alloc_len > 65535.
..the test should be instead:
if (alloc_len < 4 || alloc_len > 65536)
This error was introduced by recent commit 38d5c8336e60bf6e53a1da9
("scsi_debug: add Report supported opcodes+tmfs; Compare and write")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2015-01-22 17:50:52 +01:00
..
2014-12-08 07:42:25 -08:00
2014-11-24 14:45:27 +01:00
2014-12-18 05:56:29 -08:00
2014-11-24 14:45:27 +01:00
2014-11-20 09:11:10 +01:00
2014-11-24 14:45:27 +01:00
2014-11-24 14:45:27 +01:00
2014-12-18 05:56:29 -08:00
2014-11-24 14:45:27 +01:00
2014-12-18 05:56:29 -08:00
2014-12-12 11:22:30 -05:00
2014-11-12 11:19:36 +01:00
2014-12-04 09:58:33 +01:00
2014-12-18 05:56:29 -08:00
2014-12-30 13:31:45 +01:00
2014-12-04 09:58:33 +01:00
2014-12-18 05:56:29 -08:00
2014-11-24 14:45:27 +01:00
2014-12-18 05:56:29 -08:00
2014-12-18 05:56:29 -08:00
2014-12-12 10:08:06 -08:00
2014-12-18 05:56:29 -08:00
2014-12-04 09:58:34 +01:00
2014-12-18 05:56:29 -08:00
2014-11-24 20:01:28 +01:00
2014-08-26 09:35:54 +02:00
2014-12-18 05:56:29 -08:00
2015-01-05 18:15:08 +01:00
2014-11-24 14:45:27 +01:00
2014-11-24 14:45:27 +01:00
2014-12-18 20:28:33 -08:00
2014-11-24 14:45:27 +01:00
2014-11-24 14:45:27 +01:00
2014-11-24 14:45:27 +01:00
2014-07-25 17:16:56 -04:00
2014-12-04 09:57:13 +01:00
2014-08-08 15:57:29 -07:00
2013-11-26 11:09:07 +01:00
2014-10-20 16:21:33 +02:00
2014-10-20 16:21:33 +02:00
2014-12-04 09:58:33 +01:00
2014-11-12 11:15:57 +01:00
2014-11-12 11:16:08 +01:00
2014-11-24 16:13:18 +01:00
2014-11-20 09:11:21 +01:00
2014-11-20 09:11:20 +01:00
2013-10-14 15:26:04 +02:00
2014-11-24 14:45:27 +01:00
2013-06-26 18:32:47 -07:00
2014-10-20 16:21:33 +02:00
2014-11-24 20:01:28 +01:00
2014-12-02 18:26:52 +01:00
2014-07-17 22:07:38 +02:00
2014-11-20 09:11:11 +01:00
2014-11-24 14:45:27 +01:00
2014-07-17 22:07:37 +02:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2014-03-19 15:04:44 -07:00
2014-11-24 14:45:27 +01:00
2014-11-24 16:13:17 +01:00
2014-11-24 16:13:16 +01:00
2013-01-03 15:57:01 -08:00
2013-06-26 18:32:47 -07:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2014-11-24 20:01:40 +01:00
2013-04-09 14:13:16 -04:00
2013-11-26 11:09:07 +01:00
2014-11-12 11:19:41 +01:00
2014-11-20 09:11:25 +01:00
2014-11-24 14:45:27 +01:00
2014-11-20 09:11:25 +01:00
2014-11-24 14:45:27 +01:00
2012-11-27 08:59:43 +04:00
2013-04-09 14:13:16 -04:00
2014-07-17 22:07:37 +02:00
2014-03-19 15:04:44 -07:00
2015-01-19 10:46:20 +01:00
2015-01-19 10:46:20 +01:00
2014-11-24 14:45:27 +01:00
2013-04-09 14:13:27 -04:00
2014-03-15 10:19:19 -07:00
2014-11-24 14:45:27 +01:00
2014-04-11 16:15:36 -04:00
2014-10-20 16:21:33 +02:00
2014-12-15 13:34:25 +01:00
2013-01-03 15:57:01 -08:00
2014-03-15 10:19:18 -07:00
2014-11-24 14:45:27 +01:00
2014-10-20 16:21:33 +02:00
2014-12-12 10:08:06 -08:00
2014-11-25 15:42:54 +01:00
2014-11-12 11:16:08 +01:00
2014-03-27 08:26:31 -07:00
2014-08-08 15:57:29 -07:00
2014-10-20 16:21:33 +02:00
2013-04-09 14:13:15 -04:00
2014-08-12 12:15:14 -06:00
2013-04-15 14:30:44 -06:00
2014-11-24 14:45:27 +01:00
2014-07-17 22:07:35 +02:00
2014-07-25 17:16:56 -04:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:20 +01:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2014-10-07 21:29:18 -04:00
2014-11-24 20:01:28 +01:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2014-12-04 09:55:45 +01:00
2013-04-09 14:13:17 -04:00
2014-12-12 10:08:06 -08:00
2014-11-24 14:45:27 +01:00
2014-07-25 17:16:55 -04:00
2014-10-20 16:21:33 +02:00
2015-01-22 17:50:52 +01:00
2014-12-15 10:41:23 +01:00
2014-12-30 08:59:13 -08:00
2014-11-12 11:16:12 +01:00
2015-01-20 09:04:21 +01:00
2014-11-12 11:16:05 +01:00
2014-04-24 13:44:54 -04:00
2014-12-15 15:11:06 +01:00
2014-12-15 15:11:06 +01:00
2014-07-17 22:07:37 +02:00
2014-12-08 07:42:25 -08:00
2014-06-06 16:08:16 -07:00
2014-12-04 09:55:45 +01:00
2014-11-24 20:01:40 +01:00
2014-07-25 17:16:54 -04:00
2014-08-04 13:16:14 +02:00
2014-07-17 22:07:37 +02:00
2014-12-04 09:58:33 +01:00
2014-08-14 11:09:05 -06:00
2014-12-18 05:56:29 -08:00
2014-11-12 11:15:54 +01:00
2014-09-30 15:17:35 -06:00
2014-12-30 13:30:38 +01:00
2014-11-12 11:15:57 +01:00
2014-11-24 20:01:28 +01:00
2014-11-12 11:16:11 +01:00
2014-10-20 16:21:33 +02:00
2013-01-03 15:57:01 -08:00
2014-10-20 16:21:33 +02:00
2014-11-12 11:16:03 +01:00
2014-07-17 22:07:39 +02:00
2014-11-24 20:01:28 +01:00
2014-11-12 11:15:57 +01:00
2014-11-24 20:01:28 +01:00
2014-11-12 11:19:44 +01:00
2014-12-15 13:34:29 +01:00
2014-05-28 12:16:28 +02:00
2014-11-20 09:11:20 +01:00
2014-11-20 09:11:15 +01:00
2014-10-20 16:21:33 +02:00
2014-10-20 16:21:33 +02:00
2013-01-03 15:57:01 -08:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2014-11-24 14:45:27 +01:00
2014-12-11 12:20:31 -08:00
2014-11-24 14:45:28 +01:00
2014-09-24 11:52:09 -06:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:15 -04:00
2014-11-27 16:40:16 +01:00
2014-11-25 15:42:54 +01:00
2014-11-24 14:45:27 +01:00
2014-10-06 10:27:57 +01:00
2013-01-03 15:57:01 -08:00
2013-11-26 11:09:07 +01:00