mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
iommu/arm-smmu: Fix string format warnings
Fix some string format errors that were causing compiler warnings with
gcc 7.4.1.
Fixes: f608120 ("iommu/arm-smmu: report BID, PID and MID of client on context
fault")
Change-Id: Ic0dedbadfdc717e4e4769f4075847a7ffa050a1c
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
parent
8debf953cc
commit
dc4b751518
1 changed files with 2 additions and 2 deletions
|
|
@ -1355,7 +1355,7 @@ static irqreturn_t arm_smmu_context_fault(int irq, void *dev)
|
|||
"Context fault handled by client: iova=0x%08lx, cb=%d, fsr=0x%x, fsynr0=0x%x, fsynr1=0x%x\n",
|
||||
iova, cfg->cbndx, fsr, fsynr0, fsynr1);
|
||||
dev_dbg(smmu->dev,
|
||||
"Client info: BID=0x%x, PID=0x%x, MID=0x%x\n",
|
||||
"Client info: BID=0x%lx, PID=0x%lx, MID=0x%lx\n",
|
||||
FIELD_GET(FSYNR1_BID, fsynr1),
|
||||
FIELD_GET(FSYNR1_PID, fsynr1),
|
||||
FIELD_GET(FSYNR1_MID, fsynr1));
|
||||
|
|
@ -1373,7 +1373,7 @@ static irqreturn_t arm_smmu_context_fault(int irq, void *dev)
|
|||
"Unhandled context fault: iova=0x%08lx, cb=%d, fsr=0x%x, fsynr0=0x%x, fsynr1=0x%x\n",
|
||||
iova, cfg->cbndx, fsr, fsynr0, fsynr1);
|
||||
dev_err(smmu->dev,
|
||||
"Client info: BID=0x%x, PID=0x%x, MID=0x%x\n",
|
||||
"Client info: BID=0x%lx, PID=0x%lx, MID=0x%lx\n",
|
||||
FIELD_GET(FSYNR1_BID, fsynr1),
|
||||
FIELD_GET(FSYNR1_PID, fsynr1),
|
||||
FIELD_GET(FSYNR1_MID, fsynr1));
|
||||
|
|
|
|||
Loading…
Reference in a new issue