kernel scan: USB code that tests undefined CONFIG vars

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  since this is such a short list, here's the output from my kernel
scanning script that ran through the drivers/usb directory, looking
for preprocessor tests of CONFIG variables that don't exist, with a
lost of all files *throughout* the entire tree that refer to them:

>>>>> ARCH_KARO
drivers/usb/host/isp1362.h:11:#if defined(CONFIG_ARCH_KARO)
include/asm-arm/mach-types.h:4388:#ifdef CONFIG_ARCH_KARO
arch/arm/tools/mach-types:207:karo			ARCH_KARO		KARO			190
>>>>> CPU_PXA27x
drivers/usb/host/ohci-pxa27x.c:206:#ifdef CONFIG_CPU_PXA27x
drivers/usb/gadget/pxa27x_udc.c:2564:#ifdef CONFIG_CPU_PXA27x
>>>>> MACH_OMAP_H4_OTG
arch/arm/mach-omap2/board-h4.c:280:#ifdef	CONFIG_MACH_OMAP_H4_OTG
drivers/usb/gadget/omap_udc.c:2097:#ifndef CONFIG_MACH_OMAP_H4_OTG
drivers/usb/gadget/Kconfig:193:	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_H4_OTG
>>>>> USB_LANGWELL_OTG
drivers/usb/gadget/langwell_udc.c:24:#if defined(CONFIG_USB_LANGWELL_OTG)
drivers/usb/gadget/langwell_udc.h:22:#if defined(CONFIG_USB_LANGWELL_OTG)


  as in, for example, there's a file testing for CONFIG_ARCH_KARO when
there is no Kconfig file that defines the config variable ARCH_KARO.
you get the idea.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux