aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2023-11-09 12:10:09 +0200
committerGreg Kroah-Hartman <[email protected]>2023-12-07 11:35:26 +0900
commit1eaea4b3604eb9ca7d9a1e73d88fc121bb4061f5 (patch)
treed92f3de93b1a28618e0fc2dabd5e9d295f96da89 /lib/test_fortify/write_overflow-strlcpy-src.c
parentbef52aa0f3de1b7d8c258c13b16e577361dabf3a (diff)
software node: Let args be NULL in software_node_get_reference_args
fwnode_get_property_reference_args() may not be called with args argument NULL and while OF already supports this. Add the missing NULL check. The purpose is to be able to count the references. Fixes: b06184acf751 ("software node: Add software_node_get_reference_args()") Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions