Re: Need Suggestions

2018-07-25 Thread valdis . kletnieks
On Thu, 26 Jul 2018 03:07:27 +0530, Himanshu Jha said: > Now, this part of section is really important and somehow if you think > you really learnt C well in the course offered at University. Then > please take a look at implicit conversions: > https://en.cppreference.com/w/c/language/conversion

Re: Need Suggestions

2018-07-25 Thread Himanshu Jha
On Wed, Jul 18, 2018 at 10:09:28AM +0530, inventsekar wrote: > Hi Athul... > This is my collegemate's writing, ... This will solve all your > confusions > > --- > > The most important quality that you need to inculcate if you want to do any > kernel space programming is "Patience" (or

Re: Netpoll APIs

2018-07-25 Thread jitendra kumar khasdev
Thanks, I am able to resolve the issue. Issue was in routing. --- Jitendra ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Kernel API's for ADC

2018-07-25 Thread Greg KH
On Wed, Jul 25, 2018 at 04:47:29PM +0530, chandrasekhar wrote: > Not on the sysfs interface. I want to read the ADC using kernel API's in > kernel space. For your specific driver and device, or for "any" driver/device? And why do you need this, what are you going to do with that information?

RE: Kernel API's for ADC

2018-07-25 Thread chandrasekhar
Not on the sysfs interface. I want to read the ADC using kernel API's in kernel space. Thanks and Regards, Chandrasekhar -Original Message- From: Daniel Baluta [mailto:daniel.bal...@gmail.com] Sent: Wednesday, July 25, 2018 4:37 PM To: chandrasekhar Cc: Kernelnewbies Subject: Re:

Re: Kernel API's for ADC

2018-07-25 Thread Daniel Baluta
On Wed, Jul 25, 2018 at 1:25 PM, chandrasekhar wrote: > Hi, > > > > Are there any kernel API's for ADC. I am using NXP IMX6UL processor. I have > to read ADC values in kernel space instead of sysfs/userspace. It depends on the type of driver used. Either input or IIO. The sysfs interface for

Kernel API's for ADC

2018-07-25 Thread chandrasekhar
Hi, Are there any kernel API's for ADC. I am using NXP IMX6UL processor. I have to read ADC values in kernel space instead of sysfs/userspace. Thanks and Regards, Chandrasekhar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: link_path_walk/dentry_path_raw TOCTTOU race question

2018-07-25 Thread Greg KH
On Tue, Jul 24, 2018 at 07:42:08PM -0400, riya khanna wrote: > Thanks Valdis! > > I'm trying to enforce path-based access policies inside a file system Look at how the apparmor code does it, that's the best solution here. thanks, greg k-h ___