提交 e66d74ce 编写于 作者: T Takashi Iwai

ALSA: asihpi - Use %zd for size_t argument in error message (again)

This was reverted mistakenly in the recent update patch.
Fixed again.
Reported-by: NRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 b6a48404
......@@ -2089,7 +2089,7 @@ static u16 message_response_sequence(struct hpi_adapter_obj *pao,
phr->specific_error = sizeof(interface->u);
phr->size = sizeof(struct hpi_response_header);
HPI_DEBUG_LOG(ERROR,
"message len %d too big for buffer %ld \n", phm->size,
"message len %d too big for buffer %zd \n", phm->size,
sizeof(interface->u));
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册