Re: [v7, 2/6] fsl/fman: Add FMan support
From: David Miller
Date: Mon Nov 02 2015 - 23:18:30 EST
From: <igal.liberman@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/