Skip to contentSkip to conversation

Staging: android: timed_gpio: fixed bare use of 'unsigned'

PATCH In review Shyam Saini 2 participants 3 messages Apr 4, 2016 – Apr 5, 2016 3 messages not in the archive Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: android: timed_gpio: fixed bare use of 'unsigned'

'unsigned int gpio' is added in place of 'unsigned gpio'

---
 drivers/staging/android/timed_gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/timed_gpio.c +1 -1
index 914fd10..8926b3f 100644
@@ -29,7 +29,7 @@ struct timed_gpio_data {
 	struct timed_output_dev dev;
 	struct hrtimer timer;
 	spinlock_t lock;
-	unsigned gpio;
+	unsigned int gpio;
 	int max_timeout;
 	u8 active_low;
 };
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 6 lines · Shyam Saini

'unsigned int gpio' is added in place of 'unsigned gpio'

---
 drivers/staging/android/timed_gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

This file is no longer in linux-next, please always work against that tree, otherwise you duplicate work others have already done.

sorry,

greg k-h

maintainer
#5 lore raw
In reply to a message not in the archive
Quoted 9 lines · Shyam Saini

hi,
Sorry for duplicate work, actually i was following http://kernelnewbies.org/
FirstKernelPatch .
I updated the repository, then i watched this video  and finally submitted the duplicate patch.

As you said, I should work against linux -next.
So, Now, i'm following https://www.kernel.org/doc/man-pages/linux-next.html.
May you  please tell me whether i'm on right track or not?

Yes, that sounds correct, you can also read Documentation/development_process/ to see all of the details as to how linux-next ties into all of the other subsystem trees.

good luck!

greg k-h