On Fri, Aug 30, 2019 at 10:51:55AM +0300, Heikki Krogerus wrote:
> The software node is searched from a list that may be empty
> when the function is called. This makes sure that the
> function returns NULL even if the list is empty.
>
> Fixes: 80488a6b1d3c ("software node: Add support for static node descriptors")
> Reported-by: kbuild test robot <[email protected]>
> Reported-by: Dan Carpenter <[email protected]>
> Signed-off-by: Heikki Krogerus <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>