Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da737272 authored by Xiao Li's avatar Xiao Li
Browse files

adsp-loader: Fix compilation error



Print the variables of size_t length using '%zu' to fix compilation error.

Change-Id: I56b15d56a213d994d278d353336afefe0907a426
Signed-off-by: default avatarXiao Li <xiaolee@codeaurora.org>
parent ead188cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -393,7 +393,7 @@ static int adsp_loader_probe(struct platform_device *pdev)
		goto wqueue;
	}
	if (len <= 0 || len > sizeof(u32)) {
		dev_dbg(&pdev->dev, "%s: nvmem cell length out of range: %d\n",
		dev_dbg(&pdev->dev, "%s: nvmem cell length out of range: %zu\n",
			__func__, len);
		kfree(buf);
		goto wqueue;