[BUILD FAILURE 11/12] Next April 21 : PPC64 randconfig [drivers/usb/host/ohci-hcd.o]

Kumar Gala galak at kernel.crashing.org
Wed Apr 22 07:37:10 EST 2009

On Apr 21, 2009, at 2:03 PM, David Brownell wrote:

> On Tuesday 21 April 2009, Subrata Modak wrote:
>> Observing this for the first time:
>> CC      drivers/usb/host/ohci-hcd.o
>> In file included from drivers/usb/host/ohci-hcd.c:1060:
>> drivers/usb/host/ohci-ppc-of.c:242:2: error: #error "No endianess
> Hmm, scripts/get_maintainer.pl doesn't report
> the PPC folk who maintain that file and its
> kbuild infrastructure.
> Can we have some PPC folk look at (and fix) this?

The problem is in the drivers/usb/host/Kconfig:

         bool "Support big endian HC"
         depends on USB_OHCI_HCD_PPC_OF
         default y
         select USB_OHCI_BIG_ENDIAN_DESC
         select USB_OHCI_BIG_ENDIAN_MMIO

         bool "Support little endian HC"
         depends on USB_OHCI_HCD_PPC_OF
         default n
         select USB_OHCI_LITTLE_ENDIAN

Since its feasible to say 'n' to both we get the compile error.  How  
do we enforce having at least one set?

- k

More information about the Linuxppc-dev mailing list