Commit ed309c36 authored by Martin Waitz's avatar Martin Waitz Committed by Linus Torvalds

[PATCH] docbook: fix XML in templates

Fix XML in templates
Signed-off-by: default avatarMartin Waitz <tali@admingilde.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f326b3fc
...@@ -225,7 +225,7 @@ int numerr, errpos[8]; ...@@ -225,7 +225,7 @@ int numerr, errpos[8];
..... .....
/* Decode 512 byte in data8.*/ /* Decode 512 byte in data8.*/
numerr = decode_rs8 (rs_decoder, NULL, NULL, 512, syn, 0, errpos, 0, corr); numerr = decode_rs8 (rs_decoder, NULL, NULL, 512, syn, 0, errpos, 0, corr);
for (i = 0; i < numerr; i++) { for (i = 0; i &lt; numerr; i++) {
do_error_correction_in_your_buffer(errpos[i], corr[i]); do_error_correction_in_your_buffer(errpos[i], corr[i]);
} }
</programlisting> </programlisting>
......
...@@ -240,9 +240,9 @@ static void board_hwcontrol(struct mtd_info *mtd, int cmd) ...@@ -240,9 +240,9 @@ static void board_hwcontrol(struct mtd_info *mtd, int cmd)
struct nand_chip *this = (struct nand_chip *) mtd->priv; struct nand_chip *this = (struct nand_chip *) mtd->priv;
switch(cmd){ switch(cmd){
case NAND_CTL_SETCLE: this->IO_ADDR_W |= CLE_ADRR_BIT; break; case NAND_CTL_SETCLE: this->IO_ADDR_W |= CLE_ADRR_BIT; break;
case NAND_CTL_CLRCLE: this->IO_ADDR_W &= ~CLE_ADRR_BIT; break; case NAND_CTL_CLRCLE: this->IO_ADDR_W &amp;= ~CLE_ADRR_BIT; break;
case NAND_CTL_SETALE: this->IO_ADDR_W |= ALE_ADRR_BIT; break; case NAND_CTL_SETALE: this->IO_ADDR_W |= ALE_ADRR_BIT; break;
case NAND_CTL_CLRALE: this->IO_ADDR_W &= ~ALE_ADRR_BIT; break; case NAND_CTL_CLRALE: this->IO_ADDR_W &amp;= ~ALE_ADRR_BIT; break;
} }
} }
</programlisting> </programlisting>
...@@ -393,7 +393,7 @@ static void board_select_chip (struct mtd_info *mtd, int chip) ...@@ -393,7 +393,7 @@ static void board_select_chip (struct mtd_info *mtd, int chip)
/* Deselect all chips, set all nCE pins high */ /* Deselect all chips, set all nCE pins high */
GPIO(BOARD_NAND_NCE) |= 0xff; GPIO(BOARD_NAND_NCE) |= 0xff;
if (chip >= 0) if (chip >= 0)
GPIO(BOARD_NAND_NCE) &= ~ (1 << chip); GPIO(BOARD_NAND_NCE) &amp;= ~ (1 &lt;&lt; chip);
} }
</programlisting> </programlisting>
<para> <para>
...@@ -407,8 +407,8 @@ static void board_select_chip (struct mtd_info *mtd, int chip) ...@@ -407,8 +407,8 @@ static void board_select_chip (struct mtd_info *mtd, int chip)
struct nand_chip *this = (struct nand_chip *) mtd->priv; struct nand_chip *this = (struct nand_chip *) mtd->priv;
/* Deselect all chips */ /* Deselect all chips */
this->IO_ADDR_R &= ~BOARD_NAND_ADDR_MASK; this->IO_ADDR_R &amp;= ~BOARD_NAND_ADDR_MASK;
this->IO_ADDR_W &= ~BOARD_NAND_ADDR_MASK; this->IO_ADDR_W &amp;= ~BOARD_NAND_ADDR_MASK;
switch (chip) { switch (chip) {
case 0: case 0:
this->IO_ADDR_R |= BOARD_NAND_ADDR_CHIP0; this->IO_ADDR_R |= BOARD_NAND_ADDR_CHIP0;
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY procfsexample SYSTEM "procfs_example.sgml"> <!ENTITY procfsexample SYSTEM "procfs_example.xml">
]> ]>
<book id="LKProcfsGuide"> <book id="LKProcfsGuide">
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</author> </author>
</authorgroup> </authorgroup>
<edition>Document Revision: 0.3 for SiS900 driver v1.06 & v1.07</edition> <edition>Document Revision: 0.3 for SiS900 driver v1.06 &amp; v1.07</edition>
<pubdate>November 16, 2000</pubdate> <pubdate>November 16, 2000</pubdate>
<copyright> <copyright>
......
...@@ -264,7 +264,7 @@ Version 1.1.15 ...@@ -264,7 +264,7 @@ Version 1.1.15
<listitem> <listitem>
<para> <para>
Fixes for the SPEED, STEREO, CHANNELS, FMT ioctls when in read & Fixes for the SPEED, STEREO, CHANNELS, FMT ioctls when in read &amp;
write mode (Rui Sousa) write mode (Rui Sousa)
</para> </para>
</listitem> </listitem>
......
...@@ -523,7 +523,7 @@ static unsigned long current_freq; ...@@ -523,7 +523,7 @@ static unsigned long current_freq;
if(copy_from_user(arg, &amp;freq, if(copy_from_user(arg, &amp;freq,
sizeof(unsigned long))!=0) sizeof(unsigned long))!=0)
return -EFAULT; return -EFAULT;
if(hardware_set_freq(freq)<0) if(hardware_set_freq(freq)&lt;0)
return -EINVAL; return -EINVAL;
current_freq = freq; current_freq = freq;
return 0; return 0;
...@@ -1552,9 +1552,9 @@ static struct video_buffer capture_fb; ...@@ -1552,9 +1552,9 @@ static struct video_buffer capture_fb;
struct video_window v; struct video_window v;
if(copy_from_user(&amp;v, arg, sizeof(v))) if(copy_from_user(&amp;v, arg, sizeof(v)))
return -EFAULT; return -EFAULT;
if(v.width > 640 || v.height > 480) if(v.width &gt; 640 || v.height &gt; 480)
return -EINVAL; return -EINVAL;
if(v.width < 16 || v.height < 16) if(v.width &lt; 16 || v.height &lt; 16)
return -EINVAL; return -EINVAL;
hardware_set_key(v.chromakey); hardware_set_key(v.chromakey);
hardware_set_window(v); hardware_set_window(v);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment