Re: Hello from China

2012-11-16 Thread Luis R. Rodriguez
On Thu, Nov 15, 2012 at 11:52 PM, Jin Chen-Xin bg4...@gmail.com wrote: Hello everyone, I'm Jin Chen-Xin, from China. I develop application for digital scales in Linux environment. But I'm not familiar with the kernel. I want to study Linux kernel and drivers. How and where can I start?

Re: Linux stable test kernels

2012-11-13 Thread Luis R. Rodriguez
On Tue, Nov 13, 2012 at 2:28 AM, WANG Chao wangchao19890...@gmail.com wrote: On 11/13/2012 05:36 PM, Peter Senna Tschudin wrote: Dear list, Where / how can I get latest Linux stable test kernels like 3.0.51-rc1, 3.4.18-rc1, and 3.6.6-rc1? http://www.kernel.org/ To be more exact:

Re: puzzled by a couple things related to uapi

2012-10-25 Thread Luis R. Rodriguez
On Thu, Oct 25, 2012 at 11:46 AM, Robert P. J. Day rpj...@crashcourse.ca wrote: looking at the uapi reorganization in the kernel source for the first time, and a couple things confuse me. i see the principle -- collect all the userspace API content in one place, in this case

Re: when to return -EOPNOTSUPP in _ioctl in a driver

2012-10-04 Thread Luis R. Rodriguez
On Thu, Oct 4, 2012 at 12:29 AM, devendra.aaru devendra.a...@gmail.com wrote: actually i see it in drivers/staging/csr/ this is in netdev.c here they do the below way csr_xxx_ioctl() { int ret; ret = -EOPNOTSUPP; return ret; } if the ioctl just

Re: when to return -EOPNOTSUPP in _ioctl in a driver

2012-10-02 Thread Luis R. Rodriguez
On Tue, Oct 2, 2012 at 8:26 AM, devendra.aaru devendra.a...@gmail.com wrote: Hi all, While going through some code, i have found a place in which we do return, -EOPNOTSUPP in an ioctl and the code of ioctl does just this one. static int drv_ioctl(.. *fops, ...) { return