Re: [PATCH 1/2] scsi: lpfc: avoid harmless comparison warning

2016-07-20 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> When building with -Wextra, we get a lot of warnings for the lpfc Arnd> driver concerning expressions that are always true, starting with: Applied to 4.8/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To

Re: [PATCH 1/2] scsi: lpfc: avoid harmless comparison warning

2016-07-15 Thread James Smart
Patch is good. Thanks -- james Signed-off-by: James Smart On 6/15/2016 1:42 PM, Arnd Bergmann wrote: When building with -Wextra, we get a lot of warnings for the lpfc driver concerning expressions that are always true, starting with:

Re: [PATCH 1/2] scsi: lpfc: avoid harmless comparison warning

2016-07-13 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> When building with -Wextra, we get a lot of warnings for the lpfc Arnd> driver concerning expressions that are always true, starting with: Arnd> drivers/scsi/lpfc/lpfc_attr.c: In function Arnd> 'lpfc_enable_npiv_init':

Re: [PATCH 1/2] scsi: lpfc: avoid harmless comparison warning

2016-06-16 Thread Johannes Thumshirn
On Wed, Jun 15, 2016 at 10:42:17PM +0200, Arnd Bergmann wrote: > When building with -Wextra, we get a lot of warnings for the lpfc driver > concerning expressions that are always true, starting with: > > drivers/scsi/lpfc/lpfc_attr.c: In function 'lpfc_enable_npiv_init': >

[PATCH 1/2] scsi: lpfc: avoid harmless comparison warning

2016-06-15 Thread Arnd Bergmann
When building with -Wextra, we get a lot of warnings for the lpfc driver concerning expressions that are always true, starting with: drivers/scsi/lpfc/lpfc_attr.c: In function 'lpfc_enable_npiv_init': drivers/scsi/lpfc/lpfc_attr.c:2786:77: error: comparison of unsigned expression >= 0 is always