Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pdfdocs: Fix 'make pdfdocs' failure for 'uio-howto.tmpl'

'make pdfdocs' failed for uio-howto.tmpl and reported errors of the form:
'document type does not allow element "varname" here; missing one of "remark", "synopsis", "fieldsynopsis", "literallayout", "programlisting", "screen", "para", "simpara", "bridgehead" start-tag'
and similar.
Fixed by adding '<para>' and '</para>' tags to a location that made sense, fixed the errors and the pdf looks OK in relevant ereas.

Signed-off-by: Sharon Dvir <sharon.dvir1@mail.huji.ac.il>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sharon Dvir and committed by
Greg Kroah-Hartman
9e4129bf a48742bc

+7 -7
+7 -7
Documentation/DocBook/uio-howto.tmpl
··· 719 719 </para> 720 720 </sect1> 721 721 722 - <sect1 id="using uio_dmem_genirq"> 722 + <sect1 id="using-uio_dmem_genirq"> 723 723 <title>Using uio_dmem_genirq for platform devices</title> 724 724 <para> 725 725 In addition to statically allocated memory ranges, they may also be ··· 746 746 following elements: 747 747 </para> 748 748 <itemizedlist> 749 - <listitem><varname>struct uio_info uioinfo</varname>: The same 749 + <listitem><para><varname>struct uio_info uioinfo</varname>: The same 750 750 structure used as the <varname>uio_pdrv_genirq</varname> platform 751 - data</listitem> 752 - <listitem><varname>unsigned int *dynamic_region_sizes</varname>: 751 + data</para></listitem> 752 + <listitem><para><varname>unsigned int *dynamic_region_sizes</varname>: 753 753 Pointer to list of sizes of dynamic memory regions to be mapped into 754 754 user space. 755 - </listitem> 756 - <listitem><varname>unsigned int num_dynamic_regions</varname>: 755 + </para></listitem> 756 + <listitem><para><varname>unsigned int num_dynamic_regions</varname>: 757 757 Number of elements in <varname>dynamic_region_sizes</varname> array. 758 - </listitem> 758 + </para></listitem> 759 759 </itemizedlist> 760 760 <para> 761 761 The dynamic regions defined in the platform data will be appended to