diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-06-21 08:47:19 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-06-21 09:56:52 +0200 |
commit | 30a5e60e7d23fba9c5c12ff93c022a6c236dd01f (patch) | |
tree | 908edbc5cf7dcc84bd1a565bcf100958fe0e1ea4 /include/digest.h | |
parent | 2778b034cab5836dd2bff14476a6ea382a14db43 (diff) | |
download | barebox-30a5e60e7d23fba9c5c12ff93c022a6c236dd01f.tar.gz |
watchdog: dw_wdt: fix resource reservation error check
dev_request_mem_resource returns a possible error pointer. If it
succeeds mem->start will always be valid. Rectify the confusion.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210621064719.19246-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/digest.h')
0 files changed, 0 insertions, 0 deletions