[Libvirt-cim] [PATCH] Remove newline characters from CU_DEBUG calls now that the newline is automatic. Also remove a few debug messages that are no longer necessary and clutter output

Dan Smith danms at us.ibm.com
Thu Nov 1 23:31:31 UTC 2007


JG> # HG changeset patch
JG> # User Jay Gagnon <grendel at linux.vnet.ibm.com>
JG> # Date 1193939694 14400
JG> # Node ID 66e4bd0fd892e97719769b5ad3128ed2ccbfc514
JG> # Parent  308064b52d99dcfff6315a309cc8aa66cb55f556
JG> Remove newline characters from CU_DEBUG calls now that the newline
JG> is automatic.  Also remove a few debug messages that are no longer
JG> necessary and clutter output. 

Er, actually, this doesn't apply on top of the current tip.  Here is
the reject:

*************** static CMPIStatus sdc_rasds_for_type(con
*** 296,312 ****
                                  CU_DEBUG("Problem getting inst.");
                                  goto out;
                          }
-                         CU_DEBUG("Got inst.\n");
                          if (inst != NULL) {
                                  inst_list_add(list, inst);
-                                 CU_DEBUG("Added inst.\n");
                          } else {
-                                 CU_DEBUG("Inst is null, not added.\n");
                          }
                  }
                  
          } else {
-                 CU_DEBUG("Unsupported type.\n");
                  CMSetStatusWithChars(_BROKER, &s, CMPI_RC_ERR_FAILED,
                                       "Unsupported device type.");
          }
--- 292,308 ----
                                  CU_DEBUG("Problem getting inst.");
                                  goto out;
                          }
+                         CU_DEBUG("Got inst.");
                          if (inst != NULL) {
                                  inst_list_add(list, inst);
+                                 CU_DEBUG("Added inst.");
                          } else {
+                                 CU_DEBUG("Inst is null, not added.");
                          }
                  }
                  
          } else {
+                 CU_DEBUG("Unsupported type.");
                  CMSetStatusWithChars(_BROKER, &s, CMPI_RC_ERR_FAILED,
                                       "Unsupported device type.");
          }

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20071101/79bd0095/attachment.sig>


More information about the Libvirt-cim mailing list