Explorar o código

qcacmn: Fix printk format error in SDIO HIF

sizeof() operator should be using %zu

Change-Id: Ia0f4938316cf32e9da4db63e3362aca892fc915b
CRs-Fixed: 2267624
Sriram Madhvapathi %!s(int64=6) %!d(string=hai) anos
pai
achega
367a882dc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hif/src/sdio/transfer/transfer.c

+ 1 - 1
hif/src/sdio/transfer/transfer.c

@@ -133,7 +133,7 @@ QDF_STATUS hif_dev_send_buffer(struct hif_sdio_device *pdev, uint32_t xfer_id,
 		if (sctx) {
 			sctx->bNewAlloc = true;
 		} else {
-			HIF_ERROR("%s: Alloc send context fail %u\n",
+			HIF_ERROR("%s: Alloc send context fail %zu\n",
 				  __func__, sizeof(*sctx) + padded_length);
 			return QDF_STATUS_E_NOMEM;
 		}