[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151102.231750.1882562463767220834.davem@davemloft.net>
Date: Mon, 02 Nov 2015 23:17:50 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: igal.liberman@...escale.com
Cc: netdev@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, scottwood@...escale.com,
madalin.bucur@...escale.com, pebolle@...cali.nl,
joakim.tjernlund@...nsmode.se, ppc@...dchasers.com,
stephen@...workplumber.org
Subject: Re: [v7, 2/6] fsl/fman: Add FMan support
From: <igal.liberman@...escale.com>
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists