From: Takashi Iwai Date: Tue, 8 Mar 2011 17:20:46 +0000 (+0100) Subject: ALSA: asihpi - Use %zd for size_t argument in error message (again) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e66d74ced12699ed9b7ac62f68b44d842a817ecd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Randy Dunlap Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/asihpi/hpi6205.c b/sound/pci/asihpi/hpi6205.c index 53037342cd29..3b5562acb55e 100644 --- a/sound/pci/asihpi/hpi6205.c +++ b/sound/pci/asihpi/hpi6205.c @@ -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; }