[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18067.45288.808891.13294@ipc1.karo>
Date: Tue, 10 Jul 2007 18:16:40 +0200
From: "Lothar Wassmann" <LW@...O-electronics.de>
To: Rodolfo Giometti <giometti@...eenne.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Li Yang-r58472 <LeoLi@...escale.com>,
linux-usb-devel@...ts.sourceforge.net,
linux-arm-kernel@...ts.arm.linux.org.uk
Subject: Re: [PATCH] PXA27x UDC driver.
Hi,
> > > +static int
> > > +write_packet(volatile u32 * uddr, struct pxa27x_request *req, unsigned max)
> >
> > Please review Documentation/volatile-considered-harmful.txt
>
> The attibute volatile here is necessary in order to avoid getting the
> following warnings from the compiler:
>
[...]
>
> Do you know how I can resolve this?
>
ioremap() the memory area for the UDC registers and use an __iomem
cookie.
Lothar Wassmann
--
___________________________________________________________
Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen, Rolf Rosenstein
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996
www.karo-electronics.de | info@...o-electronics.de
___________________________________________________________
-
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