aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2015-06-28 01:45:08 +0000
committerGreg Kroah-Hartman <[email protected]>2015-07-23 22:25:38 +0000
commitd8c2c0d89205a3538c5fd77dc9d4767ee6bebc70 (patch)
tree59216a7a1c8e1bf0eaa3cd62b98c65b5fa384b35 /net/switchdev/switchdev.c
parenttty/vt: Fix the memory leak in visual_init (diff)
downloadkernel-d8c2c0d89205a3538c5fd77dc9d4767ee6bebc70.tar.gz
kernel-d8c2c0d89205a3538c5fd77dc9d4767ee6bebc70.zip
serial: etraxfs-uart: Fix release etraxfs_uart_ports
In probe, we use dev_id as array index of etraxfs_uart_ports and store the index in port->line. So etraxfs_uart_ports[port->line] should be released when unload the module. Signed-off-by: Axel Lin <[email protected]> Acked-by: Niklas Cassel <[email protected]> Acked-by: Jesper Nilsson <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions