Laurent Vivier
eb2929ca50
linux-user/syscall.c: clean up local variable shadowing in do_ioctl_dm()
Fix following warnings:
.../linux-user/syscall.c: In function 'do_ioctl_dm':
.../linux-user/syscall.c:5053:23: warning: declaration of 'arg_type' shadows a previous local [-Wshadow=local]
5053 | const argtype arg_type[] = { MK_STRUCT(STRUCT_dm_target_spec) };
| ^~~~~~~~
.../linux-user/syscall.c:4991:20: note: shadowed declaration is here
4991 | const argtype *arg_type = ie->arg_type;
| ^~~~~~~~
...//linux-user/syscall.c:5102:27: warning: declaration of 'arg_type' shadows a previous local [-Wshadow=local]
5102 | const argtype arg_type[] = { MK_STRUCT(STRUCT_dm_name_list) };
| ^~~~~~~~
.../linux-user/syscall.c:4991:20: note: shadowed declaration is here
4991 | const argtype *arg_type = ie->arg_type;
| ^~~~~~~~
.../linux-user/syscall.c:5130:27: warning: declaration of 'arg_type' shadows a previous local [-Wshadow=local]
5130 | const argtype arg_type[] = { MK_STRUCT(STRUCT_dm_target_spec) };
| ^~~~~~~~
.../linux-user/syscall.c:4991:20: note: shadowed declaration is here
4991 | const argtype *arg_type = ie->arg_type;
| ^~~~~~~~
.../linux-user/syscall.c:5170:27: warning: declaration of 'arg_type' shadows a previous local [-Wshadow=local]
5170 | const argtype arg_type[] = { MK_STRUCT(STRUCT_dm_target_versions) };
| ^~~~~~~~
.../linux-user/syscall.c:4991:20: note: shadowed declaration is here
4991 | const argtype *arg_type = ie->arg_type;
| ^~~~~~~~
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20230925151029.461358-4-laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2023-10-06 13:27:48 +02:00
..
2023-09-01 13:33:36 -07:00
2023-09-01 13:33:47 -07:00
2023-09-01 13:33:36 -07:00
2023-09-01 13:33:09 -07:00
2023-07-15 08:02:32 +01:00
2023-09-01 13:33:09 -07:00
2023-10-04 11:03:54 -07:00
2023-10-04 11:03:54 -07:00
2023-08-08 20:44:08 +02:00
2023-09-20 11:43:11 +08:00
2023-09-01 13:33:09 -07:00
2023-09-01 13:33:09 -07:00
2023-09-01 13:33:09 -07:00
2023-09-01 13:33:09 -07:00
2023-09-01 13:33:09 -07:00
2023-09-01 13:33:09 -07:00
2023-09-01 13:33:09 -07:00
2023-09-11 11:45:55 +10:00
2023-09-01 13:33:09 -07:00
2023-09-01 13:33:09 -07:00
2023-09-01 13:33:09 -07:00
2023-09-01 13:33:09 -07:00
2023-09-01 13:33:09 -07:00
2022-10-25 09:20:40 +02:00
2023-10-04 11:03:54 -07:00
2021-07-12 21:53:35 +02:00
2023-10-04 11:03:54 -07:00
2023-03-10 20:45:47 +01:00
2023-03-10 20:42:00 +01:00
2020-09-17 20:39:22 +02:00
2023-10-06 13:27:48 +02:00
2022-10-21 17:46:19 +02:00
2021-11-29 14:54:17 +01:00
2022-05-23 08:15:19 +02:00
2023-09-01 13:33:36 -07:00
2023-10-04 11:03:54 -07:00
2023-01-16 10:14:12 -10:00
2023-10-06 13:27:48 +02:00
2023-09-01 13:34:50 -07:00
2022-06-28 04:41:20 +05:30
2022-09-27 09:29:33 +02:00
2023-10-04 11:03:54 -07:00
2019-06-12 13:20:21 +02:00
2023-09-29 10:07:16 +02:00
2022-05-23 22:47:19 +02:00
2023-07-08 16:55:08 +02:00
2023-07-15 08:02:32 +01:00
2021-11-29 14:54:17 +01:00
2023-10-06 13:27:48 +02:00
2023-08-09 07:17:42 -07:00
2022-01-18 12:41:42 +01:00
2020-08-21 06:18:24 -04:00
2021-09-13 20:35:45 +02:00
2022-05-23 22:47:20 +02:00
2022-05-23 22:47:19 +02:00
2023-03-28 15:23:10 -07:00
2023-09-01 13:35:02 -07:00
2021-09-13 20:35:45 +02:00