From: Andrew Goodbody Date: Thu, 31 Jul 2025 10:51:21 +0000 (+0100) Subject: mmc: octeontx_hsmmc: Need parens in expression X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b1b035e748de19e635b554401634d14c9a08448;p=pandora-u-boot.git mmc: octeontx_hsmmc: Need parens in expression The check for no response expected in octeontx_mmc_send_cmd needs parens adding for proper interpretation. This issue was found by Smatch. Signed-off-by: Andrew Goodbody --- diff --git a/drivers/mmc/octeontx_hsmmc.c b/drivers/mmc/octeontx_hsmmc.c index 3b5e1221732..ffc8d4c7874 100644 --- a/drivers/mmc/octeontx_hsmmc.c +++ b/drivers/mmc/octeontx_hsmmc.c @@ -1545,7 +1545,7 @@ static int octeontx_mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, slot->is_acmd = (cmd->cmdidx == MMC_CMD_APP_CMD); - if (!cmd->resp_type & MMC_RSP_PRESENT) + if (!(cmd->resp_type & MMC_RSP_PRESENT)) debug(" Response type: 0x%x, no response expected\n", cmd->resp_type); /* Get the response if present */