diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-27 21:31:43 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-02-28 04:07:03 +0100 |
commit | 90ec7c9dff07d676c0b9b499286b931005c6b051 (patch) | |
tree | fb6bf3ebd9a49c8273f36eac679db7d9e9c0d6a5 /drivers/scsi/lpfc/lpfc_nvme.h | |
parent | scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m (diff) | |
download | linux-90ec7c9dff07d676c0b9b499286b931005c6b051.tar.xz linux-90ec7c9dff07d676c0b9b499286b931005c6b051.zip |
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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nvme.h')
0 files changed, 0 insertions, 0 deletions