summaryrefslogtreecommitdiff
path: root/util/bincfg/bincfg.lex.c_shipped
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-11-03 13:27:45 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-11-04 17:37:13 +0000
commit32d09be655465879fa4ca3f68102af778e69539e (patch)
tree3cba2db0191bbb0f66f3f39fee2f9f6109675c90 /util/bincfg/bincfg.lex.c_shipped
parentc167b748686529fa9f9c667f57cba6519220b341 (diff)
treewide: Replace bad uses of `find_resource`
The `find_resource` function will never return null (will die instead). In cases where the existing code already accounts for null pointers, it is better to use `probe_resource` instead, which returns a null pointer instead of dying. Change-Id: I329efcb42a444b097794fde4f40acf5ececaea8c Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58910 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Lance Zhao
Diffstat (limited to 'util/bincfg/bincfg.lex.c_shipped')
0 files changed, 0 insertions, 0 deletions