summaryrefslogtreecommitdiffstats
path: root/net/netrom
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2014-05-29 09:48:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-29 11:28:05 -0700
commit06d18289256ec58b78ae8d5b83ff70c3c34309f5 (patch)
treee6f11e28e4ace0453756822635a7460eb3f5046e /net/netrom
parent2fe686ebafb43414c406c4c6252ad388a871bf1a (diff)
downloadop-kernel-dev-06d18289256ec58b78ae8d5b83ff70c3c34309f5.zip
op-kernel-dev-06d18289256ec58b78ae8d5b83ff70c3c34309f5.tar.gz
serial: kgdb_nmi: Use container_of() to locate private data
This corrects a crash in kgdb_nmi_tty_shutdown() which occurs when the function is called with port->tty set to NULL. All conversions between struct tty_port and struct kgdb_nmi_tty_priv have been switched to direct calls to container_of() to improve code clarity and consistancy. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud