Missing include in 2.6.17-1.2139_FC5 - drivers/net/b44.c?

Gilboa Davara gilboad at gmail.com
Fri Jun 30 10:21:30 UTC 2006


Hello all,

I'm try rebuild the latest FC5 kernel in-order to enable a certain Xen
feature (pciback.hide). 
When I try rebuilding the kernel I get the following error.

In file included from drivers/message/i2o/config-osm.c:39:
drivers/message/i2o/i2o_config.c: In function 'i2o_cfg_passthru':
drivers/message/i2o/i2o_config.c:875: warning: cast to pointer from
integer of different size
drivers/message/i2o/i2o_config.c:930: warning: cast to pointer from
integer of different size
drivers/message/i2o/exec-osm.c:519: warning: 'i2o_exec_lct_notify'
defined but not used
drivers/net/b44.c: In function 'b44_init':
drivers/net/b44.c:2152: error: implicit declaration of function
'dma_get_cache_alignment'
make[2]: *** [drivers/net/b44.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

By looking at the code, it seems that b44.c fails to include asm/pci.h
(or asm/dma-mapping.h directly).

BZ?

Gilboa




More information about the fedora-devel-list mailing list