alistair23-linux/drivers/tty
Arnd Bergmann 0ea46e6e58 serial: mvebu-uart: drop incorrect memset
gcc points out that the length passed into memset here is wrong:

drivers/tty/serial/mvebu-uart.c: In function 'mvebu_uart_probe':
arch/x86/include/asm/string_32.h:324:29: error: 'memset' used with length equal to number of elements without multiplication by element size [-Werror=memset-elt-size]

Moreover, the structure was allocated with kzalloc a few lines earlier,
so that memset is also unnecessary. Let's drop it to shut up the
compiler warning.

Fixes: 95f787685a ("serial: mvebu-uart: dissociate RX and TX interrupts")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-04 12:08:53 +01:00
..
hvc
ipwireless
serdev serdev: fix controller-allocation error handling 2017-10-23 11:25:48 +02:00
serial serial: mvebu-uart: drop incorrect memset 2017-11-04 12:08:53 +01:00
vt tty: vt: remove multi-fetch, derive font.height from font.data 2017-10-20 14:06:45 +02:00
amiserial.c
bfin_jtag_comm.c
cyclades.c tty: cyclades: Convert timers to use timer_setup() 2017-11-04 12:01:54 +01:00
ehv_bytechan.c
goldfish.c
isicom.c
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next 2017-09-10 09:57:23 -07:00
Makefile
metag_da.c tty: metag_da: Convert timers to use timer_setup() 2017-10-20 14:06:46 +02:00
mips_ejtag_fdc.c tty: mips_ejtag_fdc: Convert timers to use timer_setup() 2017-10-20 14:06:46 +02:00
moxa.c
moxa.h
mxser.c Merge 4.14-rc4 into tty-next 2017-10-09 09:05:05 +02:00
mxser.h
n_gsm.c drivers: tty: n_gsm: use setup_timer() helper. 2017-10-03 20:28:36 +02:00
n_hdlc.c
n_null.c
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
nozomi.c
pty.c
rocket.c
rocket.h
rocket_int.h
synclink.c tty: synclink: Reuse an existing error handling path 2017-09-18 18:31:48 +02:00
synclink_gt.c
synclinkmp.c
sysrq.c tty/sysrq: Convert timers to use timer_setup() 2017-10-20 14:06:46 +02:00
tty_audit.c
tty_baudrate.c
tty_buffer.c tty: fix tty_ldisc_receive_buf() documentation 2017-11-04 12:08:53 +01:00
tty_io.c
tty_ioctl.c
tty_jobctrl.c
tty_ldisc.c
tty_ldsem.c
tty_mutex.c
tty_port.c ttyport: trivial fix for some typo in comments 2017-09-18 18:31:48 +02:00
vcc.c tty: vcc: Convert timers to use timer_setup() 2017-11-04 12:01:54 +01:00