Subject: Re: next Feb 13 drivers/scsi/aha1542.ko build break

From: Randy Dunlap <[email-masked]>
Date: Fri, 13 Feb 2009 10:22:03 -0800

Sachin P. Sant wrote:
> Feb 13 next x86 allmodconfig build breaks with
> 
> ERROR: "__udivdi3" [drivers/scsi/aha1542.ko] undefined!
> 
> .config attached.

I'm seeing that also.  I think that it's this line in aha1542.c:

495:		mbo = (scsi2int(mb[mbi].ccbptr) - (SCSI_BUF_PA(&ccb[0]))) / sizeof(struct ccb);

since I can comment out the "/ sizeof(struct ccb)" and the driver builds successfully.

This may need a patch to use one of the div() macros (?).

-- 
~Randy