In the Linux kernel, the following vulnerability has been resolved: nfc: Fix potential resource leaks nfcgetdevice() take reference for the device, add missing nfcputdevice() to release it when not need anymore. Also fix the style warnning by use error EOPNOTSUPP instead of ENOTSUPP.