Fix printf format warnings
This commit is contained in:
parent
c22646c0d4
commit
42093bbd54
@ -1785,8 +1785,7 @@ static void classd_returnbuffers(struct classd_dev_s *priv)
|
||||
apb = (struct ap_buffer_s *)dq_remfirst(&priv->doneq);
|
||||
leave_critical_section(flags);
|
||||
|
||||
audinfo("Returning: apb=%p curbyte=%" PRId32 " nbytes=%" PRId32 \
|
||||
" flags=%04x\n",
|
||||
audinfo("Returning: apb=%p curbyte=%d nbytes=%d flags=%04x\n",
|
||||
apb, apb->curbyte, apb->nbytes, apb->flags);
|
||||
|
||||
/* Are we returning the final buffer in the stream? */
|
||||
@ -1900,7 +1899,7 @@ static int classd_sendbuffer(struct classd_dev_s *priv)
|
||||
/* Take next buffer from the queue of pending transfers */
|
||||
|
||||
apb = (struct ap_buffer_s *)dq_remfirst(&priv->pendq);
|
||||
audinfo("Sending apb=%p, size=%" PRId32 " inflight=%d\n",
|
||||
audinfo("Sending apb=%p, size=%d inflight=%d\n",
|
||||
apb, apb->nbytes, priv->inflight);
|
||||
|
||||
/* Increment the number of buffers in-flight before sending in order
|
||||
@ -2342,7 +2341,7 @@ static int classd_enqueuebuffer(struct audio_lowerhalf_s *dev,
|
||||
|
||||
DEBUGASSERT(priv && apb && priv->dev.upper);
|
||||
|
||||
audinfo("Enqueuing: apb=%p curbyte=%" PRId32 " nbytes=%" PRId32 "\n",
|
||||
audinfo("Enqueuing: apb=%p curbyte=%d nbytes=%d\n",
|
||||
apb, apb->curbyte, apb->nbytes);
|
||||
|
||||
/* Take a reference on the new audio buffer */
|
||||
@ -2390,7 +2389,7 @@ static int classd_enqueuebuffer(struct audio_lowerhalf_s *dev,
|
||||
static int classd_cancelbuffer(struct audio_lowerhalf_s *dev,
|
||||
struct ap_buffer_s *apb)
|
||||
{
|
||||
audinfo("apb=%p curbyte=%" PRId32 " nbytes=%" PRId32 ", return OK\n",
|
||||
audinfo("apb=%p curbyte=%d nbytes=%d, return OK\n",
|
||||
apb, apb->curbyte, apb->nbytes);
|
||||
|
||||
return OK;
|
||||
|
Loading…
Reference in New Issue
Block a user