Re: Problems with adding a sysfs file

2017-04-17 Thread Tobin C. Harding
On Mon, Apr 17, 2017 at 02:04:48PM -0700, Abhishek Bhardwaj wrote: > I used a pr_debug and printk KERN_INFO ,before my original email , to > verify they weren't being called. You will have more success on kernel mailing lists if you do not top post as you have done :) > On Apr 17, 2017 1:43 PM,

Re: Patch Question

2017-04-17 Thread Tobin C. Harding
On Mon, Apr 17, 2017 at 05:28:46PM -0600, Perry Hooker wrote: > Hi everyone, > > I recently submitted a patch to the kernel mailing list: > https://lkml.org/lkml/2017/3/21/712 Link is broken. > I received some feedback on the patch. After a bit of polite > back-and-forth, the respondent stopped

Re: Patch Question

2017-04-17 Thread Mandeep Sandhu
On Mon, Apr 17, 2017 at 4:28 PM, Perry Hooker wrote: > Hi everyone, > > I recently submitted a patch to the kernel mailing list: > https://lkml.org/lkml/2017/3/21/712 lkml.org seems to be down! Wow, what did you do!?! :P -mandeep > > > I received some feedback on

Patch Question

2017-04-17 Thread Perry Hooker
Hi everyone, I recently submitted a patch to the kernel mailing list: https://lkml.org/lkml/2017/3/21/712 I received some feedback on the patch. After a bit of polite back-and-forth, the respondent stopped replying when I asked for more information, and I haven't heard anything from the

Re: Problems with adding a sysfs file

2017-04-17 Thread Abhishek Bhardwaj
I used a pr_debug and printk KERN_INFO ,before my original email , to verify they weren't being called. On Apr 17, 2017 1:43 PM, wrote: > On Mon, 17 Apr 2017 01:17:08 -0700, Abhishek Bhardwaj said: > > I followed this link to add a sysfs file > >

Re: Problems with adding a sysfs file

2017-04-17 Thread valdis . kletnieks
On Mon, 17 Apr 2017 01:17:08 -0700, Abhishek Bhardwaj said: > I followed this link to add a sysfs file > http://kroah.com/log/blog/2013/06/26/how-to-create-a-sysfs-file-correctly/ > . > > I set the driver.groups field and declared the attribute and attribute > groups required by the sysfs file.

Problems with adding a sysfs file

2017-04-17 Thread Abhishek Bhardwaj
I followed this link to add a sysfs file http://kroah.com/log/blog/2013/06/26/how-to-create-a-sysfs-file-correctly/ . I set the driver.groups field and declared the attribute and attribute groups required by the sysfs file. When I boot my kernel I see the file but my store and show handlers don't

Re: How to get patches from e-mail client?

2017-04-17 Thread Amit Kumar
On Mon, Apr 17, 2017 at 04:25:50PM +0800, Rock Lee wrote: > Hi > Thank you guys, it works. But if there are series patches(like > [RFC][PATCH 00/13], [RFC][PATCH 01/13], [RFC][PATCH 02/13]), how > can I merge them quickly? I mean, I don't want to save and merge these > patches one by one.

Re: How to get patches from e-mail client?

2017-04-17 Thread Amit Kumar
On Mon, Apr 17, 2017 at 08:16:20AM +, Nicholas Mc Guire wrote: > On Mon, Apr 17, 2017 at 08:02:32AM +, Amit Kumar wrote: > > On Mon, Apr 17, 2017 at 03:52:42PM +0800, Rock Lee wrote: > > > Hi: > > > If I want to get a patch and use "git am" to merge it into my project, > > > how can I do?

Re: How to get patches from e-mail client?

2017-04-17 Thread Rock Lee
Hi Thank you guys, it works. But if there are series patches(like [RFC][PATCH 00/13], [RFC][PATCH 01/13], [RFC][PATCH 02/13]), how can I merge them quickly? I mean, I don't want to save and merge these patches one by one. On Mon, Apr 17, 2017 at 4:16 PM, Nicholas Mc Guire

Re: How to get patches from e-mail client?

2017-04-17 Thread Nicholas Mc Guire
On Mon, Apr 17, 2017 at 08:02:32AM +, Amit Kumar wrote: > On Mon, Apr 17, 2017 at 03:52:42PM +0800, Rock Lee wrote: > > Hi: > > If I want to get a patch and use "git am" to merge it into my project, > > how can I do? I mean I can copy and paste a patch from my e-mail > > client, but it is too

Re: How to get patches from e-mail client?

2017-04-17 Thread Amit Kumar
On Mon, Apr 17, 2017 at 08:02:32AM +, Amit Kumar wrote: > On Mon, Apr 17, 2017 at 03:52:42PM +0800, Rock Lee wrote: > > Hi: > > If I want to get a patch and use "git am" to merge it into my project, > > how can I do? I mean I can copy and paste a patch from my e-mail > > client, but it is too

Re: How to get patches from e-mail client?

2017-04-17 Thread Amit Kumar
On Mon, Apr 17, 2017 at 03:52:42PM +0800, Rock Lee wrote: > Hi: > If I want to get a patch and use "git am" to merge it into my project, > how can I do? I mean I can copy and paste a patch from my e-mail > client, but it is too silly. Is there any way to save a email as a > patch? Run mutt. Select

How to get patches from e-mail client?

2017-04-17 Thread Rock Lee
Hi: If I want to get a patch and use "git am" to merge it into my project, how can I do? I mean I can copy and paste a patch from my e-mail client, but it is too silly. Is there any way to save a email as a patch? -- Cheers, Rock ___ Kernelnewbies