* [PATCH] of/fdt: fix argument name and add comments of unflatten_dt_node()
@ 2015-04-13 1:30 Masahiro Yamada
2015-06-04 5:53 ` Grant Likely
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2015-04-13 1:30 UTC (permalink / raw)
To: devicetree; +Cc: Masahiro Yamada, Rob Herring, linux-kernel, Grant Likely
Match the name of the third argument in the comment block
to the actual function: p -> poffset
Add missing comments about the arguments "nodepp" and "dryrun".
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
drivers/of/fdt.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index 3a896c9..35898ca 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -145,9 +145,12 @@ static void *unflatten_dt_alloc(void **mem, unsigned long size,
* unflatten_dt_node - Alloc and populate a device_node from the flat tree
* @blob: The parent device tree blob
* @mem: Memory chunk to use for allocating device nodes and properties
- * @p: pointer to node in flat tree
+ * @poffset: pointer to node in flat tree
* @dad: Parent struct device_node
+ * @nodepp: The device_node tree created by the call
* @fpsize: Size of the node path up at the current depth.
+ * @dryrun: If true, do not allocate device nodes but still calculate needed
+ * memory size
*/
static void * unflatten_dt_node(void *blob,
void *mem,
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] of/fdt: fix argument name and add comments of unflatten_dt_node()
2015-04-13 1:30 [PATCH] of/fdt: fix argument name and add comments of unflatten_dt_node() Masahiro Yamada
@ 2015-06-04 5:53 ` Grant Likely
0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2015-06-04 5:53 UTC (permalink / raw)
To: Masahiro Yamada, devicetree; +Cc: Masahiro Yamada, Rob Herring, linux-kernel
On Mon, 13 Apr 2015 10:30:20 +0900
, Masahiro Yamada <yamada.masahiro@socionext.com>
wrote:
> Match the name of the third argument in the comment block
> to the actual function: p -> poffset
>
> Add missing comments about the arguments "nodepp" and "dryrun".
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Applied, thanks.
g.
> ---
>
> drivers/of/fdt.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
> index 3a896c9..35898ca 100644
> --- a/drivers/of/fdt.c
> +++ b/drivers/of/fdt.c
> @@ -145,9 +145,12 @@ static void *unflatten_dt_alloc(void **mem, unsigned long size,
> * unflatten_dt_node - Alloc and populate a device_node from the flat tree
> * @blob: The parent device tree blob
> * @mem: Memory chunk to use for allocating device nodes and properties
> - * @p: pointer to node in flat tree
> + * @poffset: pointer to node in flat tree
> * @dad: Parent struct device_node
> + * @nodepp: The device_node tree created by the call
> * @fpsize: Size of the node path up at the current depth.
> + * @dryrun: If true, do not allocate device nodes but still calculate needed
> + * memory size
> */
> static void * unflatten_dt_node(void *blob,
> void *mem,
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-04 8:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-13 1:30 [PATCH] of/fdt: fix argument name and add comments of unflatten_dt_node() Masahiro Yamada
2015-06-04 5:53 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®