* [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h
@ 2010-03-15 3:05 Chihau Chau
2010-03-15 5:33 ` Pavel Machek
0 siblings, 1 reply; 7+ messages in thread
From: Chihau Chau @ 2010-03-15 3:05 UTC (permalink / raw)
To: gregkh; +Cc: pavel, devel, linux-kernel, Chihau Chau
From: Chihau Chau <chihau@gmail.com>
This is moving toward using <linux/uaccess.h> instead of the old
<asm/uaccess.h> file.
Signed-off-by: Chihau Chau <chihau@gmail.com>
---
drivers/staging/dream/generic_gpio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/dream/generic_gpio.c b/drivers/staging/dream/generic_gpio.c
index fe24d38..bf19b85 100644
--- a/drivers/staging/dream/generic_gpio.c
+++ b/drivers/staging/dream/generic_gpio.c
@@ -18,7 +18,7 @@
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
-#include <asm/gpio.h>
+#include <linux/gpio.h>
#include "gpio_chip.h"
#define GPIO_NUM_TO_CHIP_INDEX(gpio) ((gpio)>>5)
--
1.5.6.3
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h
2010-03-15 3:05 [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h Chihau Chau
@ 2010-03-15 5:33 ` Pavel Machek
2010-03-15 18:08 ` Chihau Chau
2010-03-15 22:09 ` Daniel Walker
0 siblings, 2 replies; 7+ messages in thread
From: Pavel Machek @ 2010-03-15 5:33 UTC (permalink / raw)
To: Chihau Chau; +Cc: gregkh, devel, linux-kernel
On Mon 2010-03-15 00:05:55, Chihau Chau wrote:
> From: Chihau Chau <chihau@gmail.com>
>
> This is moving toward using <linux/uaccess.h> instead of the old
> <asm/uaccess.h> file.
Changelog does not match the patch.
...plus, was the patch actually tested?
Pavel
> --- a/drivers/staging/dream/generic_gpio.c
> +++ b/drivers/staging/dream/generic_gpio.c
> @@ -18,7 +18,7 @@
> #include <linux/errno.h>
> #include <linux/slab.h>
> #include <linux/spinlock.h>
> -#include <asm/gpio.h>
> +#include <linux/gpio.h>
> #include "gpio_chip.h"
>
> #define GPIO_NUM_TO_CHIP_INDEX(gpio) ((gpio)>>5)
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h
2010-03-15 5:33 ` Pavel Machek
@ 2010-03-15 18:08 ` Chihau Chau
2010-03-15 20:17 ` Pavel Machek
2010-03-15 22:09 ` Daniel Walker
1 sibling, 1 reply; 7+ messages in thread
From: Chihau Chau @ 2010-03-15 18:08 UTC (permalink / raw)
To: Pavel Machek; +Cc: gregkh, devel, linux-kernel
Sorry I have been confused with the description of another patch.
I will fix the description.
Thanks Pavel!
2010/3/15 Pavel Machek <pavel@ucw.cz>:
> On Mon 2010-03-15 00:05:55, Chihau Chau wrote:
>> From: Chihau Chau <chihau@gmail.com>
>>
>> This is moving toward using <linux/uaccess.h> instead of the old
>> <asm/uaccess.h> file.
>
> Changelog does not match the patch.
>
> ...plus, was the patch actually tested?
> Pavel
>
>> --- a/drivers/staging/dream/generic_gpio.c
>> +++ b/drivers/staging/dream/generic_gpio.c
>> @@ -18,7 +18,7 @@
>> #include <linux/errno.h>
>> #include <linux/slab.h>
>> #include <linux/spinlock.h>
>> -#include <asm/gpio.h>
>> +#include <linux/gpio.h>
>> #include "gpio_chip.h"
>>
>> #define GPIO_NUM_TO_CHIP_INDEX(gpio) ((gpio)>>5)
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
>
--
Chihau Chau
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h
2010-03-15 18:08 ` Chihau Chau
@ 2010-03-15 20:17 ` Pavel Machek
2010-03-16 18:45 ` Chihau Chau
0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2010-03-15 20:17 UTC (permalink / raw)
To: Chihau Chau; +Cc: gregkh, devel, linux-kernel
Hi!
> Sorry I have been confused with the description of another patch.
>
> I will fix the description.
>
> Thanks Pavel!
...
> > ...plus, was the patch actually tested?
I'd still like to know if it was tested...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h
2010-03-15 5:33 ` Pavel Machek
2010-03-15 18:08 ` Chihau Chau
@ 2010-03-15 22:09 ` Daniel Walker
2010-04-01 17:29 ` Pavel Machek
1 sibling, 1 reply; 7+ messages in thread
From: Daniel Walker @ 2010-03-15 22:09 UTC (permalink / raw)
To: Pavel Machek; +Cc: Chihau Chau, gregkh, devel, linux-kernel
On Mon, 2010-03-15 at 06:33 +0100, Pavel Machek wrote:
> On Mon 2010-03-15 00:05:55, Chihau Chau wrote:
> > From: Chihau Chau <chihau@gmail.com>
> >
> > This is moving toward using <linux/uaccess.h> instead of the old
> > <asm/uaccess.h> file.
>
> Changelog does not match the patch.
>
> ...plus, was the patch actually tested?
> Pavel
>
> > --- a/drivers/staging/dream/generic_gpio.c
> > +++ b/drivers/staging/dream/generic_gpio.c
We need to do some sort of staging re-sync .. This file for instance
doesn't exist in the Google's tree any longer .. They moved to gpiolib,
although they still need cleanups on top of that.
Daniel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h
2010-03-15 20:17 ` Pavel Machek
@ 2010-03-16 18:45 ` Chihau Chau
0 siblings, 0 replies; 7+ messages in thread
From: Chihau Chau @ 2010-03-16 18:45 UTC (permalink / raw)
To: Pavel Machek; +Cc: gregkh, devel, linux-kernel
No I don't know how to test it in my G1.
2010/3/15 Pavel Machek <pavel@ucw.cz>:
> Hi!
>
>> Sorry I have been confused with the description of another patch.
>>
>> I will fix the description.
>>
>> Thanks Pavel!
> ...
>> > ...plus, was the patch actually tested?
>
> I'd still like to know if it was tested...
> Pavel
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
>
--
Chihau Chau
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h
2010-03-15 22:09 ` Daniel Walker
@ 2010-04-01 17:29 ` Pavel Machek
0 siblings, 0 replies; 7+ messages in thread
From: Pavel Machek @ 2010-04-01 17:29 UTC (permalink / raw)
To: Daniel Walker; +Cc: Chihau Chau, gregkh, devel, linux-kernel
On Mon 2010-03-15 15:09:51, Daniel Walker wrote:
> On Mon, 2010-03-15 at 06:33 +0100, Pavel Machek wrote:
> > On Mon 2010-03-15 00:05:55, Chihau Chau wrote:
> > > From: Chihau Chau <chihau@gmail.com>
> > >
> > > This is moving toward using <linux/uaccess.h> instead of the old
> > > <asm/uaccess.h> file.
> >
> > Changelog does not match the patch.
> >
> > ...plus, was the patch actually tested?
> > Pavel
> >
> > > --- a/drivers/staging/dream/generic_gpio.c
> > > +++ b/drivers/staging/dream/generic_gpio.c
>
> We need to do some sort of staging re-sync .. This file for instance
> doesn't exist in the Google's tree any longer .. They moved to gpiolib,
> although they still need cleanups on top of that.
Yep. I hoped Google would just start using the stuff once it hit
staging, but...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-04-01 17:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-15 3:05 [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h Chihau Chau
2010-03-15 5:33 ` Pavel Machek
2010-03-15 18:08 ` Chihau Chau
2010-03-15 20:17 ` Pavel Machek
2010-03-16 18:45 ` Chihau Chau
2010-03-15 22:09 ` Daniel Walker
2010-04-01 17:29 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome