On Fri, 2015-12-18 at 12:23 +0000, George Dunlap wrote: > Add return codes for pci-detach, pci-attach, pci-asssignable-add, and > pci-assignable-remove. > > Returning error codes makes it easier for shell scripts to tell if a > command has failed or succeeded. > > NB this violates the CODING_STYLE preference for not initializing the > return-value variable at declaration; but in these cases, having a > "goto out" that jumped over nothing but an "rc = EXIT_SUCCESS" seemed > a bit pointless. > You mean 'nothing but an "r = EXIT_SUCCESS"'... Or this changelog violates the CODING_STYLE itself! ;-P ;-P
> Signed-off-by: George Dunlap <george.dun...@eu.citrix.com> > Reviewed-by: Dario Faggioli <dario.faggi...@citrix.com> Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel