[PATCH v4 2/3] graph: add support for node free API

Stephen Hemminger stephen at networkplumber.org
Thu Nov 14 18:07:48 CET 2024


On Thu, 14 Nov 2024 14:38:05 +0530
<kirankumark at marvell.com> wrote:

>  
> +uint8_t
> +graph_is_node_active_in_graph(struct node *node)

For true/false functions bool type is preferred.
It prevents cases where function accidentally returns 2.


More information about the dev mailing list