ARM: debug: config DEBUG_UART_8250_WORD

Paul Bolle pebolle at tiscali.nl
Wed Jun 4 13:32:46 PDT 2014


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




More information about the linux-arm-kernel mailing list