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.
---
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
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
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