WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [linux-ppc-2.6] [LINUX] use KERN_ERR printk log level

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [linux-ppc-2.6] [LINUX] use KERN_ERR printk log level
From: Xen patchbot-linux-ppc-2.6 <patchbot-linux-ppc-2.6@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Aug 2006 18:22:36 +0000
Delivery-date: Wed, 23 Aug 2006 11:30:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID 899b84c2c9799eeb14d34eaaf60196f90573b28a
# Parent  49765c9a9eb4554f884c4c730438cf872fae9d9c
[LINUX] use KERN_ERR printk log level
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 arch/powerpc/platforms/xen/hcall.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff -r 49765c9a9eb4 -r 899b84c2c979 arch/powerpc/platforms/xen/hcall.c
--- a/arch/powerpc/platforms/xen/hcall.c        Wed Aug 23 13:19:06 2006 -0500
+++ b/arch/powerpc/platforms/xen/hcall.c        Wed Aug 23 13:19:37 2006 -0500
@@ -102,7 +102,7 @@ int HYPERVISOR_xen_version(int cmd, void
                argsize = sizeof(xen_feature_info_t);
                break;
        default:
-               printk("%s: unknown version cmd %d\n", __func__, cmd);
+               printk(KERN_ERR "%s: unknown version cmd %d\n", __func__, cmd);
                return -ENOSYS;
        }
        rc = xencomm_create_mini(xc_area, XENCOMM_MINI_AREA,
@@ -170,7 +170,7 @@ int HYPERVISOR_grant_table_op(unsigned i
                argsize = sizeof(struct gnttab_transfer);
                break;
        default:
-               printk("%s: unknown grant table op %d\n", __func__, cmd);
+               printk(KERN_ERR "%s: unknown grant table op %d\n", __func__, 
cmd);
                return -ENOSYS;
        }
 
@@ -222,7 +222,7 @@ int HYPERVISOR_sched_op(int cmd, void *a
                argsize = sizeof(sched_remote_shutdown_t);
                break;
        default:
-               printk("%s: unknown sched op %d\n", __func__, cmd);
+               printk(KERN_ERR "%s: unknown sched op %d\n", __func__, cmd);
                return -ENOSYS;
        }
 
@@ -368,7 +368,7 @@ static int xenppc_privcmd_dom0_op(privcm
                break;
 
        default:
-               printk("%s: unknown dom0 cmd %d\n", __func__, kern_op.cmd);
+               printk(KERN_ERR "%s: unknown dom0 cmd %d\n", __func__, 
kern_op.cmd);
                return -ENOSYS;
        }
 
@@ -432,7 +432,7 @@ int HYPERVISOR_memory_op(unsigned int cm
                                        cmd, NULL);
                break;
        default:
-               printk("%s: unknown grant table op %d\n", __func__, cmd);
+               printk(KERN_ERR "%s: unknown grant table op %d\n", __func__, 
cmd);
                ret = -ENOSYS;
        }
        xencomm_free(op_desc);
@@ -483,7 +483,7 @@ static int xenppc_privcmd_event_channel_
                break;
 
        default:
-               printk("%s: unknown EVTCHNOP (%ld)\n",
+               printk(KERN_ERR "%s: unknown EVTCHNOP (%ld)\n",
                       __func__, hypercall->arg[0]);
                return -EINVAL;
        }
@@ -514,7 +514,7 @@ int arch_privcmd_hypercall(privcmd_hyper
        case __HYPERVISOR_event_channel_op:
                return xenppc_privcmd_event_channel_op(hypercall);
        default:
-               printk("%s: unknown hcall (%ld)\n", __func__, hypercall->op);
+               printk(KERN_ERR "%s: unknown hcall (%ld)\n", __func__, 
hypercall->op);
                /* fallthru */
                /* below are the hcalls we know will fail and its ok */
        case __HYPERVISOR_acm_op:

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [linux-ppc-2.6] [LINUX] use KERN_ERR printk log level, Xen patchbot-linux-ppc-2 . 6 <=