s390x/pv: remove semicolon from macro definition
PATCH 1/1 s390x/pv: remove semicolon from macro definition
Remove spurious semicolon at the end of the macro s390_pv_cmd
Signed-off-by Claudio Imbrenda <[email protected]>
--- hw/s390x/pv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/s390x/pv.c +1 -1
@@ -45,7 +45,7 @@ static int __s390_pv_cmd(uint32_t cmd, const char *cmdname, void *data)* This macro lets us pass the command as a string to the function so * we can print it on an error. */ -#define s390_pv_cmd (cmd, data) __s390_pv_cmd(cmd, #cmd, data); +#define s390_pv_cmd (cmd, data) __s390_pv_cmd(cmd, #cmd, data)#define s390_pv_cmd_exit (cmd, data) \ { \ int rc; \
Signature · 1 line
2.37.3
Quoted 6 lines · Claudio Imbrenda
Remove spurious semicolon at the end of the macro
s390_pv_cmdSigned-off-by Claudio Imbrenda <[email protected]>--- hw/s390x/pv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by Cornelia Huck <[email protected]>
Quoted 12 lines · Claudio Imbrenda
Remove spurious semicolon at the end of the macro
s390_pv_cmdSigned-off-by Claudio Imbrenda <[email protected]>--- hw/s390x/pv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/s390x/pv.c +0
-0
hw/s390x/pv.c static int __s390_pv_cmd(uint32_t cmd, const char *cmdname, void *data) · line 51
Quoted 8 lines
hw/s390x/pv.c +1
-1@@ -45,7 +45,7 @@ static int __s390_pv_cmd(uint32_t cmd, const char *cmdname, void *data)* This macro lets us pass the command as a string to the function so * we can print it on an error. */ -#define s390_pv_cmd (cmd, data) __s390_pv_cmd(cmd, #cmd, data); +#define s390_pv_cmd (cmd, data) __s390_pv_cmd(cmd, #cmd, data)#define s390_pv_cmd_exit (cmd, data) \ { \ int rc; \
Thanks, queued to my s390x-next branch:
https://gitlab.com/thuth/qemu/-/commits/s390x-next/
Thomas