Thread (9 messages) flat view 9 messages, 3 authors, 2015-11-04

Re: [v7, 2/6] fsl/fman: Add FMan support

From: David Miller <davem@davemloft.net>
Date: 2015-11-03 04:17:56
Also in: linuxppc-dev, lkml

From: <redacted>
Date: Mon, 2 Nov 2015 14:30:12 +0200
+static int clear_iram(struct fman *fman)
+{
+	struct fman_iram_regs __iomem *iram;
+	int i, count;
+
+	iram = (struct fman_iram_regs __iomem *)(fman->base_addr + IMEM_OFFSET);
"fman->base_addr" is of type "void __iomem *", therefore no cast should
be necessary at all.

Please audit your entire driver submission for this problem.

THanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help