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

From: Randy Dunlap
Date: Fri Feb 13 2009 - 13:21:58 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/