Arnd Bergmann 90ec7c9dff scsi: lpfc: use div_u64 for 64-bit division
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().

[mkp: fixed up whitespace]

Fixes: bd2cdd5e400f ("scsi: lpfc: NVME Initiator: Add debugfs support")
Fixes: 2b65e18202fd ("scsi: lpfc: NVME Target: Add debugfs support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-02-27 22:07:03 -05:00
..
2017-02-22 11:44:32 -08:00
2017-02-22 10:30:38 -08:00
2017-02-20 14:23:40 +01:00
2017-02-22 10:46:44 -08:00
2017-02-20 16:42:43 -08:00
2017-02-21 16:58:32 -08:00
2017-02-21 11:51:42 -08:00
2017-02-21 12:04:54 -08:00
2017-02-21 10:57:33 -08:00
2017-02-22 11:44:32 -08:00
2017-02-22 11:15:59 -08:00
2017-01-25 16:11:55 +00:00
2017-02-20 17:23:57 -08:00
2017-01-30 14:39:20 +01:00
2017-02-20 17:55:15 -08:00
2017-02-20 14:22:50 +01:00
2017-02-14 10:20:35 -08:00
2017-02-22 11:15:59 -08:00
2017-02-20 16:42:43 -08:00
2017-02-11 20:59:41 -05:00