kernel-doc: escape xml for structs
Randy Dunlap authored

scripts/kernel-doc was leaving unescaped '<', '>', and '&' in
generated xml output for structs.  This causes xml parser errors.
Convert these characters to "&lt;", "&gt;", and "&amp;" as needed
to prevent errors.

Most of the conversion was already done; complete it just before
output.

Documentation/DocBook/device-drivers.xml:41883: parser error : StartTag: invalid element name
#define INPUT_KEYMAP_BY_INDEX	(1 << 0)
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
2b35f4d9
Name Last commit Last update
..
basic Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
coccinelle Coccinelle: Find doubled arguments to boolean or bit operators.
dtc scripts/dtc: Fix a resource leak
genksyms genksyms: close ref_file after use
kconfig kconfig: sym_expand_string_value: allow for string termination when reallocing
ksymoops Linux-2.6.12-rc2
mod Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
package Merge branch 'packaging' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
rt-tester scripts: change scripts to use system python instead of env
selinux selinux: fix warning in genheaders
tracing tracing, perf: Convert the power tracer into an event tracer
.gitignore kconfig: simplification of scripts/extract-ikconfig
Kbuild.include kbuild: generate modules.builtin
Lindent scripts/Lindent: support gnu indent v2.2.10
Makefile ftrace/x86: Add support for C version of recordmcount
Makefile.build Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
Makefile.clean kbuild: Really don't clean bounds.h and asm-offsets.h
Makefile.fwinst firmware: silence __fw_modbuild and __fw_modinst 'Nothing to be done' messages
Makefile.headersinst kbuild: drop unifdef-y support
Makefile.help Add a target to use the Coccinelle checker
Makefile.host kbuild: fix some minor typoes
Makefile.lib Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
Makefile.modbuiltin kbuild: Create output directory in Makefile.modbuiltin
Makefile.modinst Revert "kbuild: strip generated symbols from *.ko"
Makefile.modpost trivial: fix a typo in a filename
bin2c.c
bloat-o-meter
bootgraph.pl
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
coccicheck
config
conmakehash.c
decodecode
diffconfig
export_report.pl
extract-ikconfig
gcc-goto.sh
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
get_maintainer.pl
gfp-translate
headerdep.pl
headers.sh
headers_check.pl
headers_install.pl
kallsyms.c
kernel-doc
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.c
recordmcount.h
recordmcount.pl
setlocalversion
show_delta
tags.sh
unifdef.c
ver_linux