[Libvirt-cim] [PATCH 1 of 6] Turns out that the sdc_rasd_prop functions might need to report status or see the passed in reference. This updates the typedef and the memory functions, since those are already in the tree

Dan Smith danms at us.ibm.com
Thu Nov 8 22:18:49 UTC 2007


JG> # HG changeset patch
JG> # User Jay Gagnon <grendel at linux.vnet.ibm.com>
JG> # Date 1194557266 18000
JG> # Node ID fd6deb234772b44fe549a3513a47115a01e20f7d
JG> # Parent  bd1b1067d106ecc1546c3b2436a43f59f8eaba15
JG> Turns out that the sdc_rasd_prop functions might need to report status or see the passed in reference.  This updates the typedef and the memory functions, since those are already in the tree.

This one looks pretty straightforward.  It looks like we could apply
this one independently if we wanted to, right?  A rather
self-contained change, considering the size of the rest of the set.

JG> +        if (!ret) {
JG> +                cu_statusf(_BROKER, s, CMPI_RC_ERR_FAILED,
JG> +                           "Could not copy RASD.");
JG> +        }

This is a total nit, so forgive my OCD, but I think that everywhere
else, the style of a cu_statusf() call is:

  cu_statusf(broker, status, <newline>
             CMPI_RC_ERR_FOO, <newline>
             "Error message", [opt if short, else newline],
             [opt]);

Could I convince you to change these? :)

-- 
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/20071108/cb184b4d/attachment.sig>


More information about the Libvirt-cim mailing list