Alistair Francis
010f5557ab
hw/riscv: opentitan: Fixup local variables shadowing
...
Local variables shadowing other local variables or parameters make the
code needlessly hard to understand. Bugs love to hide in such code.
Evidence: "[PATCH v3 1/7] migration/rdma: Fix save_page method to fail
on polling error".
This patch removes the local variable shadowing. Tested by adding:
--extra-cflags='-Wshadow=local -Wno-error=shadow=local -Wno-error=shadow=compatible-local'
To configure
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20230925043023.71448-2-alistair.francis@wdc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2023-09-29 10:07:20 +02:00
..
2023-08-29 10:49:24 +02:00
2023-09-29 10:07:18 +02:00
2023-06-20 10:01:30 +02:00
2023-05-26 09:10:49 +02:00
2023-09-29 10:07:19 +02:00
2023-09-22 16:30:07 +02:00
2022-04-06 14:31:55 +02:00
2023-09-29 08:13:57 +02:00
2023-09-21 11:31:16 +03:00
2023-09-29 10:07:17 +02:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:18 +03:00
2023-09-22 16:30:07 +02:00
2023-09-21 11:31:16 +03:00
2023-08-22 17:30:59 +01:00
2023-09-15 17:34:38 +02:00
2023-03-13 15:39:31 +04:00
2023-09-29 10:07:19 +02:00
2023-09-29 10:07:19 +02:00
2023-09-06 22:48:04 -04:00
2023-09-25 10:09:38 -04:00
2023-09-29 10:07:18 +02:00
2023-06-20 10:01:30 +02:00
2023-09-21 11:31:16 +03:00
2023-07-11 00:11:25 +02:00
2023-08-24 16:58:16 +08:00
2023-09-29 10:07:15 +02:00
2023-09-21 11:31:18 +03:00
2023-09-29 10:07:16 +02:00
2023-09-25 07:58:14 +02:00
2023-09-29 10:07:19 +02:00
2023-09-20 07:54:34 +03:00
2023-09-29 10:07:16 +02:00
2023-09-08 13:08:51 +03:00
2023-09-21 09:32:47 -04:00
2023-09-21 11:31:16 +03:00
2023-03-22 15:06:57 +00:00
2023-09-20 07:54:34 +03:00
2023-09-21 11:31:18 +03:00
2023-09-20 07:54:34 +03:00
2023-06-20 10:01:30 +02:00
2023-09-29 10:07:18 +02:00
2023-06-20 10:01:30 +02:00
2023-06-28 14:27:59 +02:00
2023-09-29 10:07:20 +02:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-12 11:13:33 +02:00
2023-09-25 18:25:03 +02:00
2023-09-06 11:14:55 -04:00
2023-08-31 19:47:43 +02:00
2023-09-21 11:31:16 +03:00
2023-09-29 10:07:18 +02:00
2023-07-25 17:14:07 +03:00
2023-07-10 18:59:32 -04:00
2023-09-21 11:31:16 +03:00
2023-09-29 10:07:19 +02:00
2023-09-20 07:54:34 +03:00
2023-09-07 14:01:29 -04:00
2023-08-31 19:47:43 +02:00
2023-09-18 07:25:28 -03:00
2023-09-21 11:31:16 +03:00
2023-06-20 10:01:30 +02:00
2023-09-08 13:08:52 +03:00
2023-03-24 14:52:14 +00:00
2023-09-08 13:08:52 +03:00
2023-09-07 14:01:29 -04:00
2023-09-07 14:01:29 -04:00