kconfig: adjust warning message for conflicting types
authorMartin Walch <walch.martin@web.de>
Thu, 3 Oct 2013 16:32:02 +0000 (18:32 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Sat, 23 Nov 2013 10:56:02 +0000 (11:56 +0100)
Each symbol must have exactly one type assigned. However, if a symbol happens
to have two different types assigned at runtime, a warning is printed and the
first type is preserved while the second type is being ignored.

The warning message says

type of <symbol name> redefined from <first type> to <second type>

which may be misleading as it may create the impression that the second type
replaces the first type.

This patch clarifies this by changing the warning to

ignoring type redefinition of <symbol name> from <first type> to <second type>

Signed-off-by: Martin Walch <walch.martin@web.de>
Acked-by: Wang YanQing <udknight@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

No differences found