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

From: Martin K. Petersen
Date: Mon Feb 27 2017 - 22:14:23 EST


>>>>> "Arnd" == Arnd Bergmann <arnd@xxxxxxxx> 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 4.11/scsi-fixes.

--
Martin K. Petersen Oracle Linux Engineering