diff options
author | Richard Watts <rrw@kynesim.co.uk> | 2015-05-19 18:06:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-04 01:24:43 +0300 |
commit | a3a10ce3429e5dee623ad5c8407ea58e204fcb0a (patch) | |
tree | e1a986e9e5e4c1c313f658eb70e599256c6d20c6 /include/linux/tty_driver.h | |
parent | 458e2c82c5fbfbc431598636c05bdb21feb7056f (diff) | |
download | linux-a3a10ce3429e5dee623ad5c8407ea58e204fcb0a.tar.xz |
Avoid usb reset crashes by making tty_io cdevs truly dynamic
Avoid usb reset crashes by making tty_io cdevs truly dynamic
Signed-off-by: Richard Watts <rrw@kynesim.co.uk>
Reported-by: Duncan Mackintosh <DMackintosh@cbnl.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty_driver.h')
-rw-r--r-- | include/linux/tty_driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h index 92e337c18839..161052477f77 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h @@ -296,7 +296,7 @@ struct tty_operations { struct tty_driver { int magic; /* magic number for this structure */ struct kref kref; /* Reference management */ - struct cdev *cdevs; + struct cdev **cdevs; struct module *owner; const char *driver_name; const char *name; |