mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 04:37:32 -04:00
of: Fix RST inline emphasis warnings in of_map_id() kernel-doc
The @filter_np parameter descriptions in of_map_id() and of_map_msi_id() contained the text '*filter_np' in prose. Docutils interprets a leading '*' as the start of RST emphasis (italic), but finds no closing '*', triggering: Documentation/devicetree/kernel-api:11: ./drivers/of/base.c:2134: WARNING: Inline emphasis start-string without end-string. [docutils] Documentation/devicetree/kernel-api:11: ./drivers/of/base.c:2260: WARNING: Inline emphasis start-string without end-string. [docutils] Fix by wrapping '*filter_np' in double backticks (*filter_np) to render it as an RST inline code literal, which is also the correct kernel-doc convention for pointer expressions. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202606130111.ldC96rqf-lkp@intel.com/ Signed-off-by: Vijayanand Jitta <vijayanand.jitta@oss.qualcomm.com> Link: https://patch.msgid.link/20260619-iommu_map_kdoc_fix-v1-1-9573e1cf30b3@oss.qualcomm.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
This commit is contained in:
committed by
Rob Herring (Arm)
parent
f36cb64bd3
commit
a67963e9cb
@@ -2160,7 +2160,7 @@ static bool of_check_bad_map(const __be32 *map, int len)
|
||||
* @map_mask_name: optional property name of the mask to use.
|
||||
* @filter_np: pointer to an optional filter node, or NULL to allow bypass.
|
||||
* If non-NULL, the map property must exist (-ENODEV if absent). If
|
||||
* *filter_np is also non-NULL, only entries targeting that node match.
|
||||
* ``*filter_np`` is also non-NULL, only entries targeting that node match.
|
||||
* @arg: pointer to a &struct of_phandle_args for the result. On success,
|
||||
* @arg->args_count will be set to the number of output specifier cells
|
||||
* as defined by @cells_name in the target node, and
|
||||
@@ -2350,7 +2350,7 @@ EXPORT_SYMBOL_GPL(of_map_iommu_id);
|
||||
* stream/device ID) used as the lookup key in the msi-map table.
|
||||
* @filter_np: pointer to an optional filter node, or NULL to allow bypass.
|
||||
* If non-NULL, the map property must exist (-ENODEV if absent). If
|
||||
* *filter_np is also non-NULL, only entries targeting that node match.
|
||||
* ``*filter_np`` is also non-NULL, only entries targeting that node match.
|
||||
* @arg: pointer to a &struct of_phandle_args for the result. On success,
|
||||
* @arg->args_count will be set to the number of output specifier cells
|
||||
* and @arg->args[0..args_count-1] will contain the translated output
|
||||
|
||||
Reference in New Issue
Block a user