Re: [PATCH][SCSI] mpt2sas: fix undefined reference to `__udivdi3' compilation errors

2014-09-22 Thread Martin K. Petersen
> "Sreekanth" == Sreekanth Reddy writes: Sreekanth> This patch will fix the below compilation errors on i386 ARCH Sreekanth> drivers/built-in.o: In function `_scsih_qcmd': Sreekanth> mpt2sas_scsih.c:(.text+0x1e7b56): undefined reference to Sreekanth> `__udivdi3' mpt2sas_scsih.c:(.text+0x1e7b8

Re: [PATCH][SCSI] mpt2sas: fix undefined reference to `__udivdi3' compilation errors

2014-09-22 Thread Christoph Hellwig
Looks good to me. Can I get a quick second review? On Fri, Sep 19, 2014 at 12:17:27PM +0530, Sreekanth Reddy wrote: > 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 `__udi

[PATCH][SCSI] mpt2sas: fix undefined reference to `__udivdi3' compilation errors

2014-09-18 Thread Sreekanth Reddy
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 err