summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2015-02-18 06:34:51 +0300
committerJohan Hovold <johan@kernel.org>2015-02-26 19:12:35 +0300
commitca4383a3947a83286bc9b9c598a1f55e867871d7 (patch)
treec0b86d4b4a723ac24a9ef5728560a54016fd4092 /tools/perf/scripts/python
parent07fdfc5e9f1c966be8722e8fa927e5ea140df5ce (diff)
downloadlinux-ca4383a3947a83286bc9b9c598a1f55e867871d7.tar.xz
USB: serial: fix tty-device error handling at probe
Add missing error handling when registering the tty device at port probe. This avoids trying to remove an uninitialised character device when the port device is removed. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reported-by: Takashi Iwai <tiwai@suse.de> Cc: stable <stable@vger.kernel.org> # v2.6.12 Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions