diff options
author | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> | 2015-12-15 00:50:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-07 08:31:08 +0100 |
commit | 9b95d95d5eba5a077283423616b4ec3329d6ab00 (patch) | |
tree | 8e6485f56b0c72b46c48fb1b3d0ffc7cf4a74d3a /drivers/tty/mxser.c | |
parent | net: irda: Fix use-after-free in irtty_open() (diff) | |
download | linux-9b95d95d5eba5a077283423616b4ec3329d6ab00.tar.xz linux-9b95d95d5eba5a077283423616b4ec3329d6ab00.zip |
char: constify tty_port_operations structs
Constifies tty_port_operations structure in
the char driver since it is not modified
after its initialization.
Detected and found using Coccinelle.
Suggested-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/mxser.c')
0 files changed, 0 insertions, 0 deletions