1
linux/drivers/tty/vt
Mathias Krause 502fcb796c tty: clearify structure initializer in notify_write()
Even though this is valid C we should not mix C99 initializers with
obfuscated ANSI C. Stick to C99 and initialize c by its name.

Found by clang:
drivers/tty/vt/vt.c:262:55: warning: explicitly assigning a variable of
type 'unsigned int' to itself [-Wself-assign]
    struct vt_notifier_param param = { .vc = vc, unicode = unicode };
                                                 ~~~~~~~ ^ ~~~~~~~

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-23 10:48:30 -07:00
..
.gitignore
consolemap.c
cp437.uni
defkeymap.c_shipped
defkeymap.map
keyboard.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
Makefile
selection.c TTY: remove tty_locked 2011-08-23 10:34:07 -07:00
vc_screen.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
vt_ioctl.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
vt.c tty: clearify structure initializer in notify_write() 2011-08-23 10:48:30 -07:00