lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 1 Jul 2013 09:32:04 +0200
From:	Geert Uytterhoeven <>
To:	Chen Gang <>
Cc:	Richard Weinberger <>,
	David Miller <>,
	Richard Cochran <>,
	"" <>
Subject: Re: [PATCH] drivers/ptp/Kconfig: add "depends on HAS_IOMEM" for 'PTP_1588_CLOCK_PCH'

On Mon, Jul 1, 2013 at 8:44 AM, Chen Gang <> wrote:
> On 07/01/2013 02:34 PM, Richard Weinberger wrote:
>>> config COMPILE_TEST
>>> >         bool "Compile also drivers which will not load"
>>> >         default n
>>> >         help
>>> >           Some drivers can be compiled on a different platform than they are
>>> >           intended to be run on. Despite they cannot be loaded there (or even
>>> >           when they load they cannot be used due to missing HW support),
>>> >           developers still, opposing to distributors, might want to build such
>>> >           drivers to compile-test them.
>>> >
>>> >           If you are a developer and want to build everything available, say Y
>>> >           here. If you are a user/distributor, say N here to exclude useless
>>> >           drivers to be distributed.
>>> >
>>> > I guess, 'COMPILE_TEST' is really useful for UML.
>> No.
>> We have explained you more than once what the deal and why UML does not
>> have ioremap() and friends.
> This time, it is not for UML, it is for 'COMPILE_TEST': the
> 'asm-generic' whether need consider it.

COMPILE_TEST is only meant to be used as a dependency in Kconfig files,
to make drivers that cannot work due to missing hardware invisible when
configuring your kernel.

There should be no #ifdefs in actual code that check for (the lack of)



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists