Re: [PATCH] scsi: lpfc: use div_u64 for 64-bit division

2017-02-28 Thread James Smart
Arnd, Thank you. Looks good. -- james Signed-off-by: James Smart On 2/27/2017 12:31 PM, Arnd Bergmann wrote: The new debugfs output causes a link error on 32-bit architectures: ERROR: "__aeabi_uldivmod" [drivers/scsi/lpfc/lpfc.ko] undefined! This code is not

Re: [PATCH] scsi: lpfc: use div_u64 for 64-bit division

2017-02-28 Thread James Smart
Arnd, Thank you. Looks good. -- james Signed-off-by: James Smart On 2/27/2017 12:31 PM, Arnd Bergmann wrote: The new debugfs output causes a link error on 32-bit architectures: ERROR: "__aeabi_uldivmod" [drivers/scsi/lpfc/lpfc.ko] undefined! This code is not performance critical, so we

Re: [PATCH] scsi: lpfc: use div_u64 for 64-bit division

2017-02-27 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> The new debugfs output causes a link error on 32-bit Arnd> architectures: ERROR: "__aeabi_uldivmod" Arnd> [drivers/scsi/lpfc/lpfc.ko] undefined! Arnd> This code is not performance critical, so we can simply use Arnd> div_u64(). Applied

Re: [PATCH] scsi: lpfc: use div_u64 for 64-bit division

2017-02-27 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> The new debugfs output causes a link error on 32-bit Arnd> architectures: ERROR: "__aeabi_uldivmod" Arnd> [drivers/scsi/lpfc/lpfc.ko] undefined! Arnd> This code is not performance critical, so we can simply use Arnd> div_u64(). Applied to

[PATCH] scsi: lpfc: use div_u64 for 64-bit division

2017-02-27 Thread Arnd Bergmann
The new debugfs output causes a link error on 32-bit architectures: ERROR: "__aeabi_uldivmod" [drivers/scsi/lpfc/lpfc.ko] undefined! This code is not performance critical, so we can simply use div_u64(). Fixes: bd2cdd5e400f ("scsi: lpfc: NVME Initiator: Add debugfs support") Fixes: 2b65e18202fd

[PATCH] scsi: lpfc: use div_u64 for 64-bit division

2017-02-27 Thread Arnd Bergmann
The new debugfs output causes a link error on 32-bit architectures: ERROR: "__aeabi_uldivmod" [drivers/scsi/lpfc/lpfc.ko] undefined! This code is not performance critical, so we can simply use div_u64(). Fixes: bd2cdd5e400f ("scsi: lpfc: NVME Initiator: Add debugfs support") Fixes: 2b65e18202fd