commit | 46766dffff08e7ed93db36b0a1f49b24aac4399f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Jul 31 09:31:19 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Aug 05 08:42:40 2015 -0600 |
tree | d179bd7e426095ec4377cc10ed682aca8fec8c9d | |
parent | 68b27d36c0c51a74ac736253e67bc15ac3a442ec [diff] |
dm: core: Check for empty list in uclass_find_device() This function needs to check the list has entries before traversing it. Fix this bug. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>