Skip to content
Commit a52f07ec authored by Grant Likely's avatar Grant Likely
Browse files

dt: protect against NULL matches passed to of_match_node()



There are a few use cases where it is convenient to pass NULL to
of_match_node() and have it fail gracefully.  The patch adds a null
check to the beginning so taht it does so.

Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 38e9e21d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment