Re: [PATCH 3/3] nfc: trf7970a: Prevent repeated polling from crashing the kernel
From: Mark Greer <hidden>
Date: 2016-12-16 01:18:32
Also in:
linux-devicetree, linux-wireless, lkml
From: Mark Greer <hidden>
Date: 2016-12-16 01:18:32
Also in:
linux-devicetree, linux-wireless, lkml
On Thu, Dec 15, 2016 at 05:30:44PM -0500, Geoff Lansberry wrote:
From: Jaret Cantu <redacted> Repeated polling attempts cause a NULL dereference error to occur. This is because the curent state of the trf7970a is reading but a request has been made to send a command. The solution is to properly kill the waiting reading (workqueue) before failing on the send.
Maybe its just me but I find this description a little hard to grok. Mind reworking it? The patch itself looks fine. Thanks, Mark -- -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html