kconfig: fix missing "0x" prefix from S_HEX symbol in autoconf.h
authorArnaud Lacombe <lacombar@gmail.com>
Thu, 14 Jul 2011 19:31:07 +0000 (15:31 -0400)
committerMichal Marek <mmarek@suse.cz>
Mon, 18 Jul 2011 14:29:29 +0000 (16:29 +0200)
commiteb4cf5a642f6430cffff7ba5d8d9bd46ea409281
tree6cb05ea1abb119903315143cd32c1a86340606c5
parenta1e806550e566e987e06561873ab8276ee54d130
kconfig: fix missing "0x" prefix from S_HEX symbol in autoconf.h

The specialized printer for headers (espectially autoconf.h) is missing
fixup code for S_HEX symbol's "0x" prefix. As long as kconfig does not
warn for such missing prefix, this code is needed. Fix this.

In the same time, fix some nits in `header_print_symbol()'.

Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Broken-by: Arnaud Lacombe <lacombar@gmail.com>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Reported-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/confdata.c