Re: [PATCH v2 2/2] of: property: use unsigned int return on of_graph_get_endpoint_count()

From
Rob Herring <robh@kernel.org>
Date
2024-02-05 19:53:12
Reply to
Kuninori Morimoto, 2024-02-05
On Mon, 05 Feb 2024 05:37:28 +0000, Kuninori Morimoto wrote:
Because of of_graph_get_endpoint_count() doesn't report error,
just return count of endpoint, the return type should be unsigned.
Tidyup it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 drivers/of/property.c    | 4 ++--
 include/linux/of_graph.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Applied, thanks!
Thread (5 messages) 5 messages, 2 authors, last reply 2024-02-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help