From: Masahiro Yamada Date: Thu, 22 Mar 2018 17:00:12 +0000 (+0900) Subject: kconfig: remove duplicated file name and lineno of recursive inclusion X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=5bcae0a92151f1b85a968fde1959011d940c8036;hp=5bcae0a92151f1b85a968fde1959011d940c8036;p=carl9170fw.git kconfig: remove duplicated file name and lineno of recursive inclusion As in the unit test, the error message for the recursive inclusion looks like this: Kconfig.inc1:4: recursive inclusion detected. Inclusion path: current file : 'Kconfig.inc1' included from: 'Kconfig.inc3:1' included from: 'Kconfig.inc2:3' included from: 'Kconfig.inc1:4' The 'Kconfig.inc1:4' is duplicated in the first and last lines. Also, the single quotes do not help readability. Change the message like follows: Recursive inclusion detected. Inclusion path: current file : Kconfig.inc1 included from: Kconfig.inc3:1 included from: Kconfig.inc2:3 included from: Kconfig.inc1:4 Signed-off-by: Masahiro Yamada Signed-off-by: Christian Lamparter ---