Re: [PATCH net] net: aquantia: fix unsigned numvecs comparison with less than zero

2018-06-08 Thread David Miller
From: Igor Russkikh Date: Thu, 7 Jun 2018 17:54:37 -0400 > From: Colin Ian King > > From: Colin Ian King > > This was originally mistakenly submitted to net-next. Resubmitting to net. > > The comparison of numvecs < 0 is always false because numvecs is a u32 > and hence the error return fro

[PATCH net] net: aquantia: fix unsigned numvecs comparison with less than zero

2018-06-07 Thread Igor Russkikh
From: Colin Ian King From: Colin Ian King This was originally mistakenly submitted to net-next. Resubmitting to net. The comparison of numvecs < 0 is always false because numvecs is a u32 and hence the error return from a failed call to pci_alloc_irq_vectores is never detected. Fix this by us