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)
commitb9dad99b0c2d6031ed92e9fc84b7ab352a794455
tree9dab33ca71284245573d3af485c325c680f541c7
parent3fca42f4136e83767565133088c35bd1e586901f
kconfig: adjust warning message for conflicting types

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>
config/menu.c