Fix chip/cxd56_farapi.c:285:14: error: format specifies type 'int' but the argument has type 'unsigned long' [-Werror,-Wformat]

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-10-26 11:11:10 +08:00 committed by Petro Karashchenko
parent 7ad74c413a
commit c6ae5e42c0

View File

@ -281,7 +281,7 @@ void cxd56_farapiinitialize(void)
#ifdef CONFIG_CXD56_FARAPI_VERSION_CHECK
if (GET_SYSFW_VERSION_BUILD() < FARAPISTUB_VERSION)
{
_alert("Mismatched version: loader(%d) != Self(%d)\n",
_alert("Mismatched version: loader(%" PRId32 ") != Self(%d)\n",
GET_SYSFW_VERSION_BUILD(), FARAPISTUB_VERSION);
_alert("Please update loader and gnssfw firmwares!!\n");
# ifdef CONFIG_CXD56_FARAPI_VERSION_FAILED_PANIC