diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-04-17 11:47:39 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-04-17 11:50:39 +0800 |
commit | b6ee414890fcd582a96f4d89e648cff5dacb1cb9 (patch) | |
tree | 180fbb277871e340374041f6f648ef2f5d7e45c6 /utils/hooks/90-sort-dtb | |
parent | 8245f2555d8a253238be888cf3e5693a2e7cbefc (diff) | |
download | talos-petitboot-b6ee414890fcd582a96f4d89e648cff5dacb1cb9.tar.gz talos-petitboot-b6ee414890fcd582a96f4d89e648cff5dacb1cb9.zip |
discover/udev: NULL return from udev_enumerate_get_list_entry isn't an error
A NULL return can mean the list is empty; don't return a failure from
this case.
udev_list_entry_foreach does a check for a NULL entry, so we'll do the
correct thing in the following loop.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'utils/hooks/90-sort-dtb')
0 files changed, 0 insertions, 0 deletions