mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
arch: cxd56xx: Fix a compile warning with CONFIG_DEBUG_ERROR=y
Summary: - This commit fixes a compile warning in cxd56_sdhci.c Impact: - None Testing: - Built with spresense:wifi Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
committed by
Xiang Xiao
parent
6626420e46
commit
5f0e334974
@@ -2458,7 +2458,7 @@ static int cxd56_sdio_recvshort(FAR struct sdio_dev_s *dev, uint32_t cmd,
|
|||||||
(cmd & MMCSD_RESPONSE_MASK) != MMCSD_R5_RESPONSE &&
|
(cmd & MMCSD_RESPONSE_MASK) != MMCSD_R5_RESPONSE &&
|
||||||
(cmd & MMCSD_RESPONSE_MASK) != MMCSD_R7_RESPONSE)
|
(cmd & MMCSD_RESPONSE_MASK) != MMCSD_R7_RESPONSE)
|
||||||
{
|
{
|
||||||
mcerr("ERROR: Wrong response CMD=%08x\n", cmd);
|
mcerr("ERROR: Wrong response CMD=%08" PRIx32 "\n", cmd);
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user