Message ID | 20221010151041.89071-1-imbrenda@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | s390x/pv: remove semicolon from macro definition | expand |
On Mon, Oct 10 2022, Claudio Imbrenda <imbrenda@linux.ibm.com> wrote: > Remove spurious semicolon at the end of the macro s390_pv_cmd > > Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> > --- > hw/s390x/pv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Cornelia Huck <cohuck@redhat.com>
On 10/10/2022 17.10, Claudio Imbrenda wrote: > Remove spurious semicolon at the end of the macro s390_pv_cmd > > Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> > --- > hw/s390x/pv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/s390x/pv.c b/hw/s390x/pv.c > index 401b63d6cb..9bcd5d829f 100644 > --- a/hw/s390x/pv.c > +++ b/hw/s390x/pv.c > @@ -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
diff --git a/hw/s390x/pv.c b/hw/s390x/pv.c index 401b63d6cb..9bcd5d829f 100644 --- a/hw/s390x/pv.c +++ b/hw/s390x/pv.c @@ -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; \
Remove spurious semicolon at the end of the macro s390_pv_cmd Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> --- hw/s390x/pv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)