All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] target/i386: sev: fix failed message typos
@ 2019-07-19 10:41 Jiri Slaby
  2019-07-19 11:45 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby @ 2019-07-19 10:41 UTC (permalink / raw)
  To: qemu-trivial
  Cc: Tom Lendacky, Brijesh Singh, Eduardo Habkost, qemu-devel,
	Paolo Bonzini, Jiri Slaby, Richard Henderson

In these multiline messages, there were typos. Fix them -- add a missing
space and remove a superfluous apostrophe.

Inspired by Tom's patch.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: qemu-trivial@nongnu.org
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
---
 target/i386/sev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/i386/sev.c b/target/i386/sev.c
index 5ba1384ea1f6..f1423cb0c0d1 100644
--- a/target/i386/sev.c
+++ b/target/i386/sev.c
@@ -763,7 +763,7 @@ sev_guest_init(const char *id)
                                         "reduced-phys-bits", NULL);
     if (s->reduced_phys_bits < 1) {
         error_report("%s: reduced_phys_bits check failed, it should be >=1,"
-                     "' requested '%d'", __func__, s->reduced_phys_bits);
+                     " requested '%d'", __func__, s->reduced_phys_bits);
         goto err;
     }
 
@@ -783,7 +783,7 @@ sev_guest_init(const char *id)
     ret = sev_platform_ioctl(s->sev_fd, SEV_PLATFORM_STATUS, &status,
                              &fw_error);
     if (ret) {
-        error_report("%s: failed to get platform status ret=%d"
+        error_report("%s: failed to get platform status ret=%d "
                      "fw_error='%d: %s'", __func__, ret, fw_error,
                      fw_error_to_str(fw_error));
         goto err;
-- 
2.22.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] target/i386: sev: fix failed message typos
  2019-07-19 10:41 [Qemu-devel] [PATCH] target/i386: sev: fix failed message typos Jiri Slaby
@ 2019-07-19 11:45 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2019-07-19 11:45 UTC (permalink / raw)
  To: Jiri Slaby, qemu-trivial
  Cc: Tom Lendacky, Brijesh Singh, qemu-devel, Eduardo Habkost,
	Richard Henderson

On 19/07/19 12:41, Jiri Slaby wrote:
> In these multiline messages, there were typos. Fix them -- add a missing
> space and remove a superfluous apostrophe.
> 
> Inspired by Tom's patch.
> 
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Richard Henderson <rth@twiddle.net>
> Cc: Eduardo Habkost <ehabkost@redhat.com>
> Cc: qemu-trivial@nongnu.org
> Cc: Brijesh Singh <brijesh.singh@amd.com>
> Cc: Tom Lendacky <thomas.lendacky@amd.com>
> ---
>  target/i386/sev.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/target/i386/sev.c b/target/i386/sev.c
> index 5ba1384ea1f6..f1423cb0c0d1 100644
> --- a/target/i386/sev.c
> +++ b/target/i386/sev.c
> @@ -763,7 +763,7 @@ sev_guest_init(const char *id)
>                                          "reduced-phys-bits", NULL);
>      if (s->reduced_phys_bits < 1) {
>          error_report("%s: reduced_phys_bits check failed, it should be >=1,"
> -                     "' requested '%d'", __func__, s->reduced_phys_bits);
> +                     " requested '%d'", __func__, s->reduced_phys_bits);
>          goto err;
>      }
>  
> @@ -783,7 +783,7 @@ sev_guest_init(const char *id)
>      ret = sev_platform_ioctl(s->sev_fd, SEV_PLATFORM_STATUS, &status,
>                               &fw_error);
>      if (ret) {
> -        error_report("%s: failed to get platform status ret=%d"
> +        error_report("%s: failed to get platform status ret=%d "
>                       "fw_error='%d: %s'", __func__, ret, fw_error,
>                       fw_error_to_str(fw_error));
>          goto err;
> 

Queued, thanks.

Paolo


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-19 11:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-19 10:41 [Qemu-devel] [PATCH] target/i386: sev: fix failed message typos Jiri Slaby
2019-07-19 11:45 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.