kernel-doc: escape xml for structs
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 18 Nov 2010 20:27:31 +0000 (12:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Nov 2010 23:00:46 +0000 (15:00 -0800)
commit2b35f4d9cab365d37c7b34ce51e1c1144c312d05
tree8c7edaadd7d469565b7c834fafebe506fef30851
parent2811036a19624168ff9342bb85421dbbb1d2ac0d
kernel-doc: escape xml for structs

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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/kernel-doc