All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/libxl: add missing blank in message
@ 2021-07-23 10:23 Alan Robinson
  2021-07-26  5:31 ` Juergen Gross
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Robinson @ 2021-07-23 10:23 UTC (permalink / raw)
  To: xen-devel
  Cc: Alan Robinson, Ian Jackson, Wei Liu, Anthony PERARD, Juergen Gross

From: Alan Robinson <alan.robinson@fujitsu.com>

Add trailing blank to first part of concatenated string giving
"an emulated" instead of "anemulated".

Signed-off-by: Alan Robinson <alan.robinson@fujitsu.com>
---
 tools/libs/light/libxl_dm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/libs/light/libxl_dm.c b/tools/libs/light/libxl_dm.c
index dbd3c7f278..755641604a 100644
--- a/tools/libs/light/libxl_dm.c
+++ b/tools/libs/light/libxl_dm.c
@@ -1893,7 +1893,7 @@ static int libxl__build_device_model_args_new(libxl__gc *gc,
                 if (format == NULL) {
                     LOGD(WARN, guest_domid,
                          "Unable to determine disk image format: %s\n"
-                         "Disk will be available via PV drivers but not as an"
+                         "Disk will be available via PV drivers but not as an "
                          "emulated disk.",
                          disks[i].vdev);
                     continue;
@@ -1905,7 +1905,7 @@ static int libxl__build_device_model_args_new(libxl__gc *gc,
 
                 if (!target_path) {
                     LOGD(WARN, guest_domid, "No way to get local access disk to image: %s\n"
-                         "Disk will be available via PV drivers but not as an"
+                         "Disk will be available via PV drivers but not as an "
                          "emulated disk.",
                          disks[i].vdev);
                     continue;
-- 
2.26.2



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

* Re: [PATCH] tools/libxl: add missing blank in message
  2021-07-23 10:23 [PATCH] tools/libxl: add missing blank in message Alan Robinson
@ 2021-07-26  5:31 ` Juergen Gross
  2021-07-27 13:24   ` Ian Jackson
  0 siblings, 1 reply; 3+ messages in thread
From: Juergen Gross @ 2021-07-26  5:31 UTC (permalink / raw)
  To: Alan Robinson, xen-devel; +Cc: Ian Jackson, Wei Liu, Anthony PERARD


[-- Attachment #1.1.1: Type: text/plain, Size: 1263 bytes --]

On 23.07.21 12:23, Alan Robinson wrote:
> From: Alan Robinson <alan.robinson@fujitsu.com>
> 
> Add trailing blank to first part of concatenated string giving
> "an emulated" instead of "anemulated".
> 
> Signed-off-by: Alan Robinson <alan.robinson@fujitsu.com>
> ---
>   tools/libs/light/libxl_dm.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/libs/light/libxl_dm.c b/tools/libs/light/libxl_dm.c
> index dbd3c7f278..755641604a 100644
> --- a/tools/libs/light/libxl_dm.c
> +++ b/tools/libs/light/libxl_dm.c
> @@ -1893,7 +1893,7 @@ static int libxl__build_device_model_args_new(libxl__gc *gc,
>                   if (format == NULL) {
>                       LOGD(WARN, guest_domid,
>                            "Unable to determine disk image format: %s\n"
> -                         "Disk will be available via PV drivers but not as an"
> +                         "Disk will be available via PV drivers but not as an "
>                            "emulated disk.",

I'd rather have a longer line without splitting the message (splitting
after the '\n' is fine, of course). This will make it easier to find the
coding emitting the message when searching for the whole printed line.


Juergen

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3135 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

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

* Re: [PATCH] tools/libxl: add missing blank in message
  2021-07-26  5:31 ` Juergen Gross
@ 2021-07-27 13:24   ` Ian Jackson
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Jackson @ 2021-07-27 13:24 UTC (permalink / raw)
  To: Juergen Gross; +Cc: Alan Robinson, xen-devel, Wei Liu, Anthony PERARD

Juergen Gross writes ("Re: [PATCH] tools/libxl: add missing blank in message"):
> On 23.07.21 12:23, Alan Robinson wrote:
> > From: Alan Robinson <alan.robinson@fujitsu.com>
> > 
> > Add trailing blank to first part of concatenated string giving
> > "an emulated" instead of "anemulated".

Alan, thanks:

Acked-by: Ian Jackson <iwj@xenproject.org>

and queued.

> > -                         "Disk will be available via PV drivers but not as an"
> > +                         "Disk will be available via PV drivers but not as an "
> >                            "emulated disk.",
> 
> I'd rather have a longer line without splitting the message (splitting
> after the '\n' is fine, of course). This will make it easier to find the
> coding emitting the message when searching for the whole printed line.

I would be fine with this, and I can see how it is an improvement.
However, Alan's patch is a step in the right direction so should go in
right away.

Ian.



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

end of thread, other threads:[~2021-07-27 13:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23 10:23 [PATCH] tools/libxl: add missing blank in message Alan Robinson
2021-07-26  5:31 ` Juergen Gross
2021-07-27 13:24   ` Ian Jackson

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.