[PATCH] dm: core: Fix incorrect flag check
Simon Glass
sjg at chromium.org
Wed Nov 18 15:37:17 CET 2020
On Sun, 15 Nov 2020 at 13:23, Marek Vasut <marek.vasut at gmail.com> wrote:
>
> The test should be checking whether $flags are non-zero and $drv_flags
> contain specific flags, however these two sets of flags are separate,
> and the two tests should be logically ANDed, not bitwise ANDed.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
> drivers/core/device-remove.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list