[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201103021422.27094.arnd@arndb.de>
Date: Wed, 2 Mar 2011 14:22:26 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Pratheesh Gangadhar <pratheesh@...com>
Cc: linux-kernel@...r.kernel.org, hjk@...sjkoch.de, gregkh@...e.de,
tglx@...utronix.de, sshtylyov@...sta.com, amit.chatterjee@...com,
davinci-linux-open-source@...ux.davincidsp.com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v8 1/1] PRUSS UIO driver support
On Wednesday 02 March 2011, Pratheesh Gangadhar wrote:
> +
> +static struct clk *pruss_clk;
> +static struct uio_info *info;
> +static dma_addr_t sram_paddr, ddr_paddr;
> +static void *prussio_vaddr, *sram_vaddr, *ddr_vaddr;
> +
To my initial comment about these being single-instance
variables, you said you'd change that, which has not happened
yet.
Also, I now noticed that the types are wrong, you are
missing __iomem annotations for MMIO ranges. Please make
sure that the code builds fine with sparse and "make C=1",
which will tell you about these problems.
Arnd
--
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