diff options
author | Igor Mammedov <imammedo@redhat.com> | 2011-08-02 13:45:25 +0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-08-04 23:31:29 +0400 |
commit | 98f531da8479eec3d828adc7f0865baaab99a543 (patch) | |
tree | 6aae6f2d2b966f36848d485c4fa495366aaad7eb /arch/x86/xen/trace.c | |
parent | 8f3c5883d840d079a5d2db20893b5ac8ba453b40 (diff) | |
download | linux-98f531da8479eec3d828adc7f0865baaab99a543.tar.xz |
xen: Fix misleading WARN message at xen_release_chunk
WARN message should not complain
"Failed to release memory %lx-%lx err=%d\n"
^^^^^^^
about range when it fails to release just one page,
instead it should say what pfn is not freed.
In addition line:
printk(KERN_INFO "xen_release_chunk: looking at area pfn %lx-%lx: "
...
printk(KERN_CONT "%lu pages freed\n", len);
will be broken if WARN in between this line is fired. So fix it
by using a single printk for this.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/trace.c')
0 files changed, 0 insertions, 0 deletions