diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-30 13:15:38 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-06-19 00:57:59 +0300 |
commit | e5834ac22948169bbd7c45996d8d4905edd20f5e (patch) | |
tree | 0fd0eedd0e8e5da394b41cbfb7fcb97d4a3f2604 /Documentation/process/submitting-patches.rst | |
parent | 0cbe40112f42cf5e008f9127f6cd5952ba3946c7 (diff) | |
download | linux-e5834ac22948169bbd7c45996d8d4905edd20f5e.tar.xz |
NFC: nfcmrvl: use nfc-device for firmware download
Use the nfc- rather than phy-device in firmware-management code that
needs a valid struct device.
This specifically fixes a NULL-pointer dereference in
nfcmrvl_fw_dnld_init() during registration when the underlying tty is
one end of a Unix98 pty.
Note that the driver still uses the phy device for any debugging, which
is fine for now.
Fixes: 3194c6870158 ("NFC: nfcmrvl: add firmware download support")
Cc: stable <stable@vger.kernel.org> # 4.4
Cc: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'Documentation/process/submitting-patches.rst')
0 files changed, 0 insertions, 0 deletions