summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-01-30 14:05:16 -0800
committerNicholas Bellinger <nab@linux-iscsi.org>2014-02-12 15:11:02 -0800
commitcdf55949c10aed90d081342264d99b2b0ed0bbf3 (patch)
tree440b6ae4ddaea2b2e7b5395a79c4027ad8adc90b /drivers/scsi/qla2xxx
parentfc09149df6e20cfbb0bb86f10899607c321a31eb (diff)
downloadop-kernel-dev-cdf55949c10aed90d081342264d99b2b0ed0bbf3.zip
op-kernel-dev-cdf55949c10aed90d081342264d99b2b0ed0bbf3.tar.gz
target: Fix 32-bit + CONFIG_LBDAF=n link error w/ sector_div
This patch changes core_alua_state_lba_dependent() to use do_div() instead sector_div() to avoid the following link error on 32-bit with CONFIG_LBDAF=n as reported by Jim: buildlog-1391099072.txt-drivers/built-in.o: In function `target_alua_state_check': buildlog-1391099072.txt-(.text+0x928d93): undefined reference to `__umoddi3' buildlog-1391099072.txt:make: *** [vmlinux] Error 1 -- buildlog-1391101753.txt- CC init/version.o buildlog-1391101753.txt- LD init/built-in.o buildlog-1391101753.txt-drivers/built-in.o: In function `core_alua_state_lba_dependent': buildlog-1391101753.txt-/home/jim/linux/drivers/target/target_core_alua.c:503: undefined reference to `__umoddi3' buildlog-1391101753.txt:make: *** [vmlinux] Error 1 Reported-by: Jim Davis <jim.epost@gmail.com> Cc: Hannes Reinecke <hare@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/scsi/qla2xxx')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud