[PATCH 23/32] leon, ahbstat: remove printf warnings
Daniel Hellstrom
daniel at gaisler.com
Thu May 11 14:26:08 UTC 2017
---
c/src/lib/libbsp/sparc/shared/amba/ahbstat.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c b/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c
index ee697f6..11bccb9 100644
--- a/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c
+++ b/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c
@@ -186,8 +186,8 @@ void ahbstat_isr(void *arg)
" at 0x%08lx\n",
status & AHBSTAT_STS_CE ? "single" : "non-correctable",
status & AHBSTAT_STS_HW ? "write" : "read",
- (int) (status & AHBSTAT_STS_HS) >> AHBSTAT_STS_HS_BIT,
- (int) (status & AHBSTAT_STS_HM) >> AHBSTAT_STS_HM_BIT,
+ (status & AHBSTAT_STS_HS) >> AHBSTAT_STS_HS_BIT,
+ (status & AHBSTAT_STS_HM) >> AHBSTAT_STS_HM_BIT,
fadr);
}
--
2.7.4
More information about the devel
mailing list