Re: [PATCH v2] PCI/MSI: Simplify the return value of arch_setup_msi_irqs

2016-08-16 Thread Bjorn Helgaas
On Wed, Jun 22, 2016 at 11:20:20AM +0800, Shawn Lin wrote: > No any callers do care whether arch_setup_msi_irqs returns > -ENOSPC or other error numbers. That means they treat the > negative numbers in the same way. So there shouldn't make any > difference to directly return -ENOSPC if finding

Re: [PATCH v2] PCI/MSI: Simplify the return value of arch_setup_msi_irqs

2016-08-16 Thread Bjorn Helgaas
On Wed, Jun 22, 2016 at 11:20:20AM +0800, Shawn Lin wrote: > No any callers do care whether arch_setup_msi_irqs returns > -ENOSPC or other error numbers. That means they treat the > negative numbers in the same way. So there shouldn't make any > difference to directly return -ENOSPC if finding

[PATCH v2] PCI/MSI: Simplify the return value of arch_setup_msi_irqs

2016-06-21 Thread Shawn Lin
No any callers do care whether arch_setup_msi_irqs returns -ENOSPC or other error numbers. That means they treat the negative numbers in the same way. So there shouldn't make any difference to directly return -ENOSPC if finding it's non-zero. Signed-off-by: Shawn Lin

[PATCH v2] PCI/MSI: Simplify the return value of arch_setup_msi_irqs

2016-06-21 Thread Shawn Lin
No any callers do care whether arch_setup_msi_irqs returns -ENOSPC or other error numbers. That means they treat the negative numbers in the same way. So there shouldn't make any difference to directly return -ENOSPC if finding it's non-zero. Signed-off-by: Shawn Lin --- Changes in v2: - fix