#
a7702439 |
| 06-Jun-2020 |
patrick <patrick@openbsd.org> |
Some devices have no phandle since they are not referenced in the device tree, but they are still registered in our OFW framework. These then tend to have a phandle 0. If we are trying to lookup a d
Some devices have no phandle since they are not referenced in the device tree, but they are still registered in our OFW framework. These then tend to have a phandle 0. If we are trying to lookup a device by phandle, we should explicitly check for phandle 0 and bail, since otherwise it is possible that we falsely match that phandle and return a device.
ok kettenis@
show more ...
|