[PATCH] scsi: fc: use get/put_unaligned64 for wwn access

2016-03-20 Thread Arnd Bergmann
A bug in the gcc-6.0 prerelease version caused at least one driver (lpfc) to have excessive stack usage when dealing with wwn data, on the ARM architecture. lpfc_scsi.c: In function 'lpfc_find_next_oas_lun': lpfc_scsi.c:117:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wfra

Re: [PATCH] scsi: fc: use get/put_unaligned64 for wwn access

2016-03-19 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> A bug in the gcc-6.0 prerelease version caused at least one driver Arnd> (lpfc) to have excessive stack usage when dealing with wwn data, Arnd> on the ARM architecture. Applied to 4.6/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fc: use get/put_unaligned64 for wwn access

2016-03-19 Thread Hannes Reinecke
On 03/16/2016 05:39 PM, Arnd Bergmann wrote: > A bug in the gcc-6.0 prerelease version caused at least one > driver (lpfc) to have excessive stack usage when dealing with > wwn data, on the ARM architecture. > > lpfc_scsi.c: In function 'lpfc_find_next_oas_lun': > lpfc_scsi.c:117:1: warning: the f

Re: [PATCH] scsi: fc: use get/put_unaligned64 for wwn access

2016-03-19 Thread Ewan D. Milne
On Wed, 2016-03-16 at 17:39 +0100, Arnd Bergmann wrote: > A bug in the gcc-6.0 prerelease version caused at least one > driver (lpfc) to have excessive stack usage when dealing with > wwn data, on the ARM architecture. > > lpfc_scsi.c: In function 'lpfc_find_next_oas_lun': > lpfc_scsi.c:117:1: war