Thread (2 messages) 2 messages, 2 authors, 2011-11-21

libata SFF and BDBMA

From: Borislav Petkov <bp@alien8.de>
Date: 2011-11-20 14:08:00

Hi,

I managed to cause the following build breakage on current -linus with
the attached config:

drivers/ata/libata-sff.c: In function ‘ata_pci_init_one’:
drivers/ata/libata-sff.c:2538:3: error: implicit declaration of function ‘ata_pci_bmdma_prepare_host’ [-Werror=implicit-function-declaration]
drivers/ata/libata-sff.c:2549:40: error: ‘ata_bmdma_interrupt’ undeclared (first use in this function)
drivers/ata/libata-sff.c:2549:40: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors

make[2]: *** [drivers/ata/libata-sff.o] Error 1
make[1]: *** [drivers/ata] Error 2
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....

due to the fact that CONFIG_ATA_BMDMA is not set. From where I'm
standing this needs either stubs for the missing functions in the
include/linux/libata.h header for the case where CONFIG_ATA_BMDMA is not
set, or make CONFIG_ATA_SFF depend on CONFIG_ATA_BMDMA or select it or
whatever makes most sense.

Thanks.

-- 
Regards/Gruss,
   Boris

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help