RE: [PATCH] mmc,sdio: Fix the panic due to devname NULL when calling pm_runtime_set_active()

2012-11-19 Thread Liu, Chuansheng
-Original Message- From: Ohad Ben-Cohen [mailto:o...@wizery.com] Sent: Monday, November 19, 2012 3:47 PM To: Liu, Chuansheng Cc: Chris Ball; linux-mmc@vger.kernel.org; linux-ker...@vger.kernel.org Subject: Re: [PATCH] mmc,sdio: Fix the panic due to devname NULL when calling

Re: [PATCH] mmc,sdio: Fix the panic due to devname NULL when calling pm_runtime_set_active()

2012-11-19 Thread Ohad Ben-Cohen
On Mon, Nov 19, 2012 at 10:01 AM, Liu, Chuansheng chuansheng@intel.com wrote: Rechecked these codes, the trace event runtime_pm_status is added newly, this is different with vanilla Linux. Not sure I'm following - can you point out which tree are you working with ? Sorry, it is added

RE: [PATCH] mmc,sdio: Fix the panic due to devname NULL when calling pm_runtime_set_active()

2012-11-18 Thread Liu, Chuansheng
-Original Message- From: Ohad Ben-Cohen [mailto:o...@wizery.com] Sent: Saturday, November 17, 2012 3:33 AM To: Liu, Chuansheng Cc: Chris Ball; linux-mmc@vger.kernel.org; linux-ker...@vger.kernel.org Subject: Re: [PATCH] mmc,sdio: Fix the panic due to devname NULL when calling

Re: [PATCH] mmc,sdio: Fix the panic due to devname NULL when calling pm_runtime_set_active()

2012-11-18 Thread Ohad Ben-Cohen
On Mon, Nov 19, 2012 at 7:57 AM, Liu, Chuansheng chuansheng@intel.com wrote: Rechecked these codes, the trace event runtime_pm_status is added newly, this is different with vanilla Linux. Not sure I'm following - can you point out which tree are you working with ? So I still think that

Re: [PATCH] mmc,sdio: Fix the panic due to devname NULL when calling pm_runtime_set_active()

2012-11-16 Thread Ohad Ben-Cohen
Hi Liu, On Fri, Nov 16, 2012 at 2:54 PM, Chuansheng Liu chuansheng@intel.com wrote: So when calling pm_runtime_set_active(), it will hit the strlen(devname==0) which trigger the panic. Can you please point to the exact line of code that triggers this panic ? Here before calling

[PATCH] mmc,sdio: Fix the panic due to devname NULL when calling pm_runtime_set_active()

2012-11-15 Thread Chuansheng Liu
Subject: [PATCH] mmc,sdio: Fix the panic due to devname NULL when calling pm_runtime_set_active() Meet one panic as the below: 1[ 15.067350] BUG: unable to handle kernel NULL pointer dereference at (null) 1[ 15.074455] IP: [c1496a42] strlen+0x12/0x20 4[ 15.078803] *pde = 0