mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacmn: Fix compiling error when enable HIF_CE_DEBUG_DATA_BUF
Use %zu instead of %lu for type size_t to fix the compiling error on 32bit system when enable the HIF_CE_DEBUG_DATA_BUF. Change-Id: Ib11cf7a798514bf654141269b2cafc6fc198a48c CRs-Fixed: 2688568
This commit is contained in:
parent
4f9a6b9016
commit
7d8cf5af55
1 changed files with 1 additions and 1 deletions
|
|
@ -1621,7 +1621,7 @@ ssize_t hif_dump_desc_event(struct hif_softc *scn, char *buf)
|
|||
ce_event_type_to_str(event->type),
|
||||
event->index, event->memory);
|
||||
#ifdef HIF_CE_DEBUG_DATA_BUF
|
||||
len += snprintf(buf + len, PAGE_SIZE - len, ", Data len=%lu",
|
||||
len += snprintf(buf + len, PAGE_SIZE - len, ", Data len=%zu",
|
||||
event->actual_data_len);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue