HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/61472 )
Change subject: drivers/aspeed/common/ast_mode.c: Drop comparison to 'false' ......................................................................
drivers/aspeed/common/ast_mode.c: Drop comparison to 'false'
Change-Id: I4276089a0673cce5e94d279056b531682e3a8584 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/drivers/aspeed/common/ast_mode.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/61472/1
diff --git a/src/drivers/aspeed/common/ast_mode.c b/src/drivers/aspeed/common/ast_mode.c index e5832e7..b5dc4a5 100644 --- a/src/drivers/aspeed/common/ast_mode.c +++ b/src/drivers/aspeed/common/ast_mode.c @@ -482,7 +482,7 @@
/* Get mode */ ret = ast_get_vbios_mode_info(crtc, mode, adjusted_mode, &vbios_mode); - if (ret == false) { + if (!ret) { dev_err(dev->pdev, "Failed to find compatible vbios mode\n"); return -EINVAL; }