linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* ARM: debug: config DEBUG_UART_8250_WORD
@ 2014-06-04 20:32 Paul Bolle
  0 siblings, 0 replies; only message in thread
From: Paul Bolle @ 2014-06-04 20:32 UTC (permalink / raw)
  To: linux-arm-kernel

Russell,

The Kconfig entry for config DEBUG_UART_8250_WORD in
arch/arm/Kconfig.debug contains this dependency:
    depends on DEBUG_UART_8250_SHIFT >= 2

But, as far as I can see, the Kconfig syntax doesn't allow tests like
">=", ">", "<=", etc. And as a result this dependency is (silently!)
parsed as
    depends on DEBUG_UART_8250_SHIFT = 2

Something like this
    depends on DEBUG_UART_8250_SHIFT != "0" && DEBUG_UART_8250_SHIFT != "1"

does what was apparently intended. Should I submit a (basically untested
and) trivial patch to do that? Or would you prefer to find a more
elegant solution yourself?


Paul Bolle

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-04 20:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-04 20:32 ARM: debug: config DEBUG_UART_8250_WORD Paul Bolle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).