[android-kernel] Re: pmem open failed. A conflict between misc device patch and pmem driver ????

2011-07-03 Thread Shlomi Mor
Hi, I actually extended the if statement as follows: if (file->private_data != NULL && file->private_data != &pmem[id].dev) Also, at the beginning of the has_allocation function I changed the if statement: if (unlikely(!file->private_data || file->private_data == &pmem[id].dev)) At least for th

[android-kernel] Re: pmem open failed. A conflict between misc device patch and pmem driver ????

2011-06-29 Thread Shlomi Mor
Hi, I also see the exact same behavior. I checked out the history of misc.c, and saw that initialization of private_data field was added at kernel version 2.6.35. I see that the problem still exists on android kernel 2.6.39 (http:// android.git.kernel.org). For now I just commented out the test fo