aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2024-03-01 22:45:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-02 22:06:22 +0100
commit38f3fc2e82a03d6dbb30c1fecacc630bd0ac9c28 (patch)
treec8860aa06a66ea82cc0c2e8caea0842f81b6f65e /lib/test_fortify/write_overflow-strncpy-src.c
parentf8ff23ebce8c305383c8070e1ea3b08a69eb1e8d (diff)
serial: pch: Don't initialize uart_port's spin_lock.
There is no need to directly initialize the spinlock_t in struct uart_port. The structure is later passed to uart_add_one_port() which initialize the complete struct including the lock member. Remove spin_lock_init() on uart_port's internal lock. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Link: https://lore.kernel.org/r/20240301215246.891055-17-bigeasy@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions