]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
OvmfPkg/XenBusDxe: Fix missing \n in DEBUG messages
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 23 Aug 2019 16:05:39 +0000 (17:05 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Fri, 13 Sep 2019 14:29:42 +0000 (15:29 +0100)
Fix missing \n in DEBUG messages in XenBusDxe and use DEBUG_*.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
OvmfPkg/XenBusDxe/EventChannel.c
OvmfPkg/XenBusDxe/XenStore.c

index 69000717828816d147fa885312f52ed7a5f6fdee..c6b3871781e0a8fb725581d85d3cdd28ba990ce3 100644 (file)
@@ -44,7 +44,8 @@ XenBusEventChannelAllocate (
                                    EVTCHNOP_alloc_unbound,\r
                                    &Parameter);\r
   if (ReturnCode != 0) {\r
-    DEBUG ((EFI_D_ERROR, "ERROR: alloc_unbound failed with rc=%d", ReturnCode));\r
+    DEBUG ((DEBUG_ERROR, "ERROR: alloc_unbound failed with rc=%d\n",\r
+        ReturnCode));\r
     return ReturnCode;\r
   }\r
   *Port = Parameter.port;\r
index 34890ae40bb2d48f5fc0eaee497a4c20861e34ba..7253d8ae375811cb0343e24a41b401e397cc278f 100644 (file)
@@ -738,7 +738,7 @@ XenStoreReadReply (
     XENSTORE_STATUS Status;\r
     Status = XenStoreProcessMessage ();\r
     if (Status != XENSTORE_STATUS_SUCCESS && Status != XENSTORE_STATUS_EAGAIN) {\r
-      DEBUG ((EFI_D_ERROR, "XenStore, error while reading the ring (%d).",\r
+      DEBUG ((DEBUG_ERROR, "XenStore, error while reading the ring (%d).\n",\r
               Status));\r
       return Status;\r
     }\r
@@ -1076,7 +1076,7 @@ XenStoreDeinit (
   if (!IsListEmpty (&xs.RegisteredWatches)) {\r
     XENSTORE_WATCH *Watch;\r
     LIST_ENTRY *Entry;\r
-    DEBUG ((EFI_D_WARN, "XenStore: RegisteredWatches is not empty, cleaning up..."));\r
+    DEBUG ((DEBUG_WARN, "XenStore: RegisteredWatches is not empty, cleaning up...\n"));\r
     Entry = GetFirstNode (&xs.RegisteredWatches);\r
     while (!IsNull (&xs.RegisteredWatches, Entry)) {\r
       Watch = XENSTORE_WATCH_FROM_LINK (Entry);\r
@@ -1092,7 +1092,7 @@ XenStoreDeinit (
   //\r
   if (!IsListEmpty (&xs.WatchEvents)) {\r
     LIST_ENTRY *Entry;\r
-    DEBUG ((EFI_D_WARN, "XenStore: WatchEvents is not empty, cleaning up..."));\r
+    DEBUG ((DEBUG_WARN, "XenStore: WatchEvents is not empty, cleaning up...\n"));\r
     Entry = GetFirstNode (&xs.WatchEvents);\r
     while (!IsNull (&xs.WatchEvents, Entry)) {\r
       XENSTORE_MESSAGE *Message = XENSTORE_MESSAGE_FROM_LINK (Entry);\r