mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
The check should be for setup function pointer. This patch fixes NULL pointer dereference issue for NCI based NFC driver which doesn't define setup handler. Signed-off-by: Amitkumar Karwar <[email protected]> Signed-off-by: Bing Zhao <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>