Mathieu Malaterre
e4ecafb14f
cxl: remove a dead branch
...
In commit 14baf4d9c7 ("cxl: Add guest-specific code") the following code
was added:
if (afu->crs_len < 0) {
dev_err(&afu->dev, "Unexpected configuration record size value\n");
return -EINVAL;
}
However the variable `crs_len` is of type u64 and cannot be compared < 0.
Remove the dead code section. Fix the following warning treated as error
with W=1:
../drivers/misc/cxl/guest.c:919:19: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
Signed-off-by: Mathieu Malaterre <malat@debian.org >
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au >
2018-08-10 22:12:36 +10:00
..
2018-06-25 21:30:12 +08:00
2018-06-06 13:49:25 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-25 09:41:37 +02:00
2018-06-04 10:58:12 -07:00
2018-06-30 10:47:46 -07:00
2018-06-17 08:38:55 +09:00
2018-06-12 18:28:00 -07:00
2018-06-12 16:19:22 -07:00
2018-06-28 10:40:47 -07:00
2018-06-15 18:10:01 -03:00
2018-06-24 19:16:42 +08:00
2018-06-06 18:39:49 -07:00
2018-07-09 18:06:02 +10:00
2018-07-31 19:56:44 +10:00
2018-08-08 00:32:34 +10:00
2018-06-28 16:06:08 -04:00
2018-06-12 16:19:22 -07:00
2018-06-15 18:10:01 -03:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-22 10:58:27 +02:00
2018-06-12 16:19:22 -07:00
2018-05-25 18:23:56 +02:00
2018-06-12 16:19:22 -07:00
2018-06-30 10:47:46 -07:00
2018-06-20 16:42:39 +09:00
2018-06-12 16:19:22 -07:00
2018-07-31 19:56:45 +10:00
2018-06-11 12:09:19 -07:00
2018-06-12 16:19:22 -07:00
2018-06-29 08:23:12 +02:00
2018-06-12 16:19:22 -07:00
2018-06-24 14:50:52 +01:00
2018-06-21 07:22:30 +09:00
2018-06-27 09:16:53 -07:00
2018-06-12 18:28:00 -07:00
2018-06-12 16:19:22 -07:00
2018-06-22 14:22:02 +02:00
2018-06-28 10:40:47 -07:00
2018-06-12 16:19:22 -07:00
2018-06-24 06:33:54 +08:00
2018-07-31 19:56:43 +10:00
2018-06-12 16:19:22 -07:00
2018-06-28 16:06:14 -04:00
2018-06-17 05:25:18 +09:00
2018-06-12 18:28:00 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-14 16:21:46 +09:00
2018-08-10 22:12:36 +10:00
2018-06-12 16:19:22 -07:00
2018-06-22 18:47:56 +02:00
2018-06-28 10:40:47 -07:00
2018-06-25 21:36:45 +08:00
2018-06-12 18:28:00 -07:00
2018-06-05 16:20:22 -07:00
2018-06-28 16:05:59 -04:00
2018-06-28 16:29:54 +02:00
2018-06-12 16:19:22 -07:00
2018-06-12 18:28:00 -07:00
2018-06-19 15:53:32 +05:30
2018-06-12 16:19:22 -07:00
2018-06-04 10:58:12 -07:00
2018-06-15 18:10:01 -03:00
2018-06-26 15:37:37 -05:00
2018-06-12 16:19:22 -07:00
2018-06-18 17:48:42 +01:00
2018-06-06 18:39:49 -07:00
2018-06-18 07:55:57 +02:00
2018-06-15 18:10:01 -03:00
2018-06-07 12:34:37 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-20 07:59:53 +09:00
2018-06-14 16:25:43 +09:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-15 07:55:25 +09:00
2018-06-12 18:28:00 -07:00
2018-06-04 12:35:03 -07:00
2018-06-11 07:20:17 -07:00
2018-06-19 07:44:51 +09:00
2018-06-15 18:10:01 -03:00
2018-06-27 09:42:16 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-26 10:42:31 -07:00
2018-06-15 18:11:26 -03:00
2018-06-12 16:19:22 -07:00
2018-07-01 12:20:20 -07:00
2018-06-18 21:02:52 -04:00
2018-06-12 18:28:00 -07:00
2018-07-24 22:09:58 +10:00
2018-06-12 16:19:22 -07:00
2018-07-20 12:50:37 +10:00
2018-06-12 16:19:22 -07:00
2018-07-16 22:53:11 +10:00
2018-06-23 10:23:49 +09:00
2018-06-17 05:25:18 +09:00
2018-06-12 16:19:22 -07:00
2018-06-16 06:35:02 +09:00
2018-06-05 16:20:22 -07:00
2018-06-12 12:56:02 -07:00
2018-06-23 20:44:11 +08:00
2018-06-06 17:27:14 -07:00