Skip to contentSkip to conversation

target/i386: sev: fix failed message typos

PATCH Applied Jiri Slaby 2 participants 2 messages Jul 19, 2019

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

PATCH 1/1 target/i386: sev: fix failed message typos

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

Inspired by Tom's patch.

Cc Paolo Bonzini <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Eduardo Habkost <[email protected]>
Cc Brijesh Singh <[email protected]>
Cc Tom Lendacky <[email protected]>
---
 target/i386/sev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
target/i386/sev.c +2 -2
index 5ba1384ea1f6..f1423cb0c0d1 100644
@@ -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;
Signature · 1 line
2.22.0
#1 lore raw
Quoted 31 lines · Jiri Slaby

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

Inspired by Tom's patch.

Cc Paolo Bonzini <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Eduardo Habkost <[email protected]>
Cc Brijesh Singh <[email protected]>
Cc Tom Lendacky <[email protected]>
---
 target/i386/sev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
target/i386/sev.c +1 -1
index 5ba1384ea1f6..f1423cb0c0d1 100644
@@ -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;
     }
 

target/i386/sev.c sev_guest_init(const char *id) · line 789

Quoted 8 lines
target/i386/sev.c +1 -1
@@ -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