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

Configure Feed

Select the types of activity you want to include in your feed.

of: address: Document return value of of_address_to_resource()

Add the missing return value documentation to the linuxdoc comment block
for the of_address_to_resource() function.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/61ffcb5e87511dfa21af169efd04806101c48b8a.1680248888.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Geert Uytterhoeven and committed by
Rob Herring
7be5e675 dc8ea920

+2
+2
drivers/of/address.c
··· 879 879 * @index: Index into the array 880 880 * @r: Pointer to resource array 881 881 * 882 + * Returns -EINVAL if the range cannot be converted to resource. 883 + * 882 884 * Note that if your address is a PIO address, the conversion will fail if 883 885 * the physical address can't be internally converted to an IO token with 884 886 * pci_address_to_pio(), that is because it's either called too early or it