Re: [PATCH] pmem: fix a NULL pointer BUG in nd_pmem_notify

2017-04-26 Thread Dan Williams
On Tue, Apr 25, 2017 at 4:40 PM, Kani, Toshimitsu wrote: > On Tue, 2017-04-25 at 16:07 -0700, Dan Williams wrote: >> On Tue, Apr 25, 2017 at 4:04 PM, Toshi Kani >> wrote: >> > The following BUG was observed when nd_pmem_notify() was called >> > for a BTT device. The use of a pmem_device pointer

Re: [PATCH] pmem: fix a NULL pointer BUG in nd_pmem_notify

2017-04-25 Thread Kani, Toshimitsu
On Tue, 2017-04-25 at 16:07 -0700, Dan Williams wrote: > On Tue, Apr 25, 2017 at 4:04 PM, Toshi Kani > wrote: > > The following BUG was observed when nd_pmem_notify() was called > > for a BTT device.  The use of a pmem_device pointer is not valid > > with BTT. > > > >  BUG: unable to handle kerne

Re: [PATCH] pmem: fix a NULL pointer BUG in nd_pmem_notify

2017-04-25 Thread Dan Williams
On Tue, Apr 25, 2017 at 4:04 PM, Toshi Kani wrote: > The following BUG was observed when nd_pmem_notify() was called > for a BTT device. The use of a pmem_device pointer is not valid > with BTT. > > BUG: unable to handle kernel NULL pointer dereference at 0030 > IP: nd_pmem_notify+0

[PATCH] pmem: fix a NULL pointer BUG in nd_pmem_notify

2017-04-25 Thread Toshi Kani
The following BUG was observed when nd_pmem_notify() was called for a BTT device. The use of a pmem_device pointer is not valid with BTT. BUG: unable to handle kernel NULL pointer dereference at 0030 IP: nd_pmem_notify+0x30/0xf0 [nd_pmem] Call Trace: nd_device_notify+0x40/0x50