Messages in this thread | | | Date | Wed, 4 Sep 2019 14:07:32 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH v3 2/2] software node: Initialize the return value in software_node_find_by_name() |
| |
On Fri, Aug 30, 2019 at 10:51:56AM +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 if the list is empty. > > Fixes: 1666faedb567 ("software node: Add software_node_get_reference_args()") > Reported-by: kbuild test robot <lkp@intel.com> > Reported-by: Dan Carpenter <dan.carpenter@oracle.com> > Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |