From f78f694c34ae6fdc29f5e80abb2dbb894f961772 Mon Sep 17 00:00:00 2001 From: Sreekanth Reddy Date: Fri, 19 Sep 2014 12:17:27 +0530 Subject: [PATCH] mpt2sas: fix undefined reference to `__udivdi3' compilation errors This patch will fix the below compilation errors on i386 ARCH drivers/built-in.o: In function `_scsih_qcmd': mpt2sas_scsih.c:(.text+0x1e7b56): undefined reference to `__udivdi3' mpt2sas_scsih.c:(.text+0x1e7b8a): undefined reference to `__umoddi3' Used sector_div() API to fix above compilation errors. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Signed-off-by: Christoph Hellwig --- Reading git-format-patch failed