[libvirt] [PATCH 2/2] Make detect_scsi_host_caps a function on all architectures

2013-05-03 Thread Guido Günther
In the non linux case some callers like gather_scsi_host_caps needed the return code of -1 while others like update_caps needed an emtpy statement (to avoid a statement without effect warning). This is much simpler solved by using a function instead of a define. ---

Re: [libvirt] [PATCH 2/2] Make detect_scsi_host_caps a function on all architectures

2013-05-03 Thread Eric Blake
On 05/03/2013 12:22 AM, Guido Günther wrote: In the non linux case some callers like gather_scsi_host_caps needed the return code of -1 while others like update_caps needed an emtpy s/emtpy/empty/ statement (to avoid a statement without effect warning). This is much simpler solved by using a

Re: [libvirt] [PATCH 2/2] Make detect_scsi_host_caps a function on all architectures

2013-05-03 Thread Guido Günther
On Fri, May 03, 2013 at 06:04:11AM -0600, Eric Blake wrote: On 05/03/2013 12:22 AM, Guido Günther wrote: In the non linux case some callers like gather_scsi_host_caps needed the return code of -1 while others like update_caps needed an emtpy s/emtpy/empty/ Both pushed with the above

Re: [libvirt] [PATCH 2/2] Make detect_scsi_host_caps a function on all architectures

2013-05-03 Thread Guido Günther
On Fri, May 03, 2013 at 06:04:11AM -0600, Eric Blake wrote: On 05/03/2013 12:22 AM, Guido Günther wrote: In the non linux case some callers like gather_scsi_host_caps needed the return code of -1 while others like update_caps needed an emtpy s/emtpy/empty/ statement (to avoid a