Linux I2C development
 help / color / mirror / Atom feed
* [PATCH] i2c: fix docbook problem
@ 2008-03-18 22:12 Randy Dunlap
       [not found] ` <20080318151259.49009828.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2008-03-18 22:12 UTC (permalink / raw)
  To: i2c-GZX6beZjE8VD60Wz+7aTrA, khali-PUYAD+kWke1g9hUCZPvPmw
  Cc: linux-doc-u79uwXL29TY76Z2rM5mHXA

From: Randy Dunlap <randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>

Sometimes kernel-doc and xmlto conspire to create output that is invalid
and causes problems.  Until I know a real/better solution, change the
source code that causes this.

If anyone has better fixes or can just explain what is happening here,
that would be great.

xmlto: input does not validate (status 1)
mmotm-2008-0314-1449/Documentation/DocBook/kernel-api.xml:71468: parser error : Opening and ending tag mismatch: programlisting line 71464 and para
   </para><para>
          ^
mmotm-2008-0314-1449/Documentation/DocBook/kernel-api.xml:71480: parser error : Opening and ending tag mismatch: para line 71473 and programlisting
</programlisting></informalexample>
                 ^
make[1]: *** [Documentation/DocBook/kernel-api.html] Error 1

Signed-off-by: Randy Dunlap <randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
---
 drivers/i2c/i2c-core.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- mmotm-2008-0314-1449.orig/drivers/i2c/i2c-core.c
+++ mmotm-2008-0314-1449/drivers/i2c/i2c-core.c
@@ -489,8 +489,8 @@ EXPORT_SYMBOL(i2c_add_adapter);
  * Context: can sleep
  *
  * This routine is used to declare an I2C adapter when its bus number
- * matters.  Example: for I2C adapters from system-on-chip CPUs, or
- * otherwise built in to the system's mainboard, and where i2c_board_info
+ * matters.  For example, use it for I2C adapters from system-on-chip CPUs,
+ * or otherwise built in to the system's mainboard, and where i2c_board_info
  * is used to properly configure I2C devices.
  *
  * If no devices have pre-been declared for this bus, then be sure to

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] i2c: fix docbook problem
       [not found] ` <20080318151259.49009828.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
@ 2008-03-20 20:14   ` Jean Delvare
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2008-03-20 20:14 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: i2c-GZX6beZjE8VD60Wz+7aTrA, linux-doc-u79uwXL29TY76Z2rM5mHXA

Hi Randy,

On Tue, 18 Mar 2008 15:12:59 -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
> 
> Sometimes kernel-doc and xmlto conspire to create output that is invalid
> and causes problems.  Until I know a real/better solution, change the
> source code that causes this.
> 
> If anyone has better fixes or can just explain what is happening here,
> that would be great.

Would be nice, yes.

> 
> xmlto: input does not validate (status 1)
> mmotm-2008-0314-1449/Documentation/DocBook/kernel-api.xml:71468: parser error : Opening and ending tag mismatch: programlisting line 71464 and para
>    </para><para>
>           ^
> mmotm-2008-0314-1449/Documentation/DocBook/kernel-api.xml:71480: parser error : Opening and ending tag mismatch: para line 71473 and programlisting
> </programlisting></informalexample>
>                  ^
> make[1]: *** [Documentation/DocBook/kernel-api.html] Error 1
> 
> Signed-off-by: Randy Dunlap <randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
> ---
>  drivers/i2c/i2c-core.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> --- mmotm-2008-0314-1449.orig/drivers/i2c/i2c-core.c
> +++ mmotm-2008-0314-1449/drivers/i2c/i2c-core.c
> @@ -489,8 +489,8 @@ EXPORT_SYMBOL(i2c_add_adapter);
>   * Context: can sleep
>   *
>   * This routine is used to declare an I2C adapter when its bus number
> - * matters.  Example: for I2C adapters from system-on-chip CPUs, or
> - * otherwise built in to the system's mainboard, and where i2c_board_info
> + * matters.  For example, use it for I2C adapters from system-on-chip CPUs,
> + * or otherwise built in to the system's mainboard, and where i2c_board_info
>   * is used to properly configure I2C devices.
>   *
>   * If no devices have pre-been declared for this bus, then be sure to

Applied, thanks.

-- 
Jean Delvare

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-20 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-18 22:12 [PATCH] i2c: fix docbook problem Randy Dunlap
     [not found] ` <20080318151259.49009828.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2008-03-20 20:14   ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox