Re: [PATCH] fix inlining trouble causing build failure indrivers/scsi/qla2xxx/qla_os.c

From: James Bottomley
Date: Sun Sep 19 2004 - 16:59:59 EST


On Sun, 2004-09-19 at 17:58, Jesper Juhl wrote:
>
> 2.6.9-rc2-bk5 allyesconfig fails to build for me with gcc 3.4.1 with the
> following error :

Actually, Adrian Bunk got there ahead of you. The fix is in both the
scsi-misc-2.6 tree and 2.6.9-rc2-mm1

James

ChangeSet@xxxxxx, 2004-09-10 13:19:39-04:00, akpm@xxxxxxxx
[PATCH] qla2xxx gcc-3.5 fixes

From: Adrian Bunk <bunk@xxxxxxxxx>

CC drivers/scsi/qla2xxx/qla_os.o
drivers/scsi/qla2xxx/qla_os.c: In function `qla2x00_queuecommand':
drivers/scsi/qla2xxx/qla_os.c:315: sorry, unimplemented: inlining
failed
in call to 'qla2x00_callback': function not considered for inlining
drivers/scsi/qla2xxx/qla_os.c:269: sorry, unimplemented: called from
here
drivers/scsi/qla2xxx/qla_os.c:315: sorry, unimplemented: inlining
failed
in call to 'qla2x00_callback': function not considered for inlining
drivers/scsi/qla2xxx/qla_os.c:269: sorry, unimplemented: called from
here
make[3]: *** [drivers/scsi/qla2xxx/qla_os.o] Error 1
...
CC drivers/scsi/qla2xxx/qla_rscn.o
drivers/scsi/qla2xxx/qla_rscn.c: In function
`qla2x00_cancel_io_descriptors':
drivers/scsi/qla2xxx/qla_rscn.c:320: sorry, unimplemented: inlining
failed in call to 'qla2x00_remove_iodesc_timer': function not
considered for i
nlining
drivers/scsi/qla2xxx/qla_rscn.c:257: sorry, unimplemented: called from
here
make[3]: *** [drivers/scsi/qla2xxx/qla_rscn.o] Error 1

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
Signed-off-by: James Bottomley <James.Bottomley@xxxxxxxxxxxx>



-
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/