On Sun, 15 Nov 2020 at 13:23, Marek Vasut <[email protected]> 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 <[email protected]>
> Cc: Simon Glass <[email protected]>
> ---
>  drivers/core/device-remove.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to