[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 3/4] migration: Fix cache_init()'s "Failed to allocate" er
From: |
Eric Blake |
Subject: |
Re: [PATCH v2 3/4] migration: Fix cache_init()'s "Failed to allocate" error messages |
Date: |
Tue, 2 Feb 2021 08:23:07 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 2/2/21 8:17 AM, Markus Armbruster wrote:
> cache_init() attempts to handle allocation failure.. The two error
The double . looks odd.
> messages are garbage, as untested error messages commonly are:
>
> Parameter 'cache size' expects Failed to allocate cache
> Parameter 'cache size' expects Failed to allocate page cache
>
> Fix them to just
>
> Failed to allocate cache
> Failed to allocate page cache
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> ---
> migration/page_cache.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org