aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-12-17 15:02:32 +0100
committerGreg Kroah-Hartman <[email protected]>2019-12-17 15:09:47 +0100
commit8336240ebb248b46c778f28123a7ceec9817c3d2 (patch)
tree9d3894fd3b7f63491fbd65e63d64b456cc6a5100 /tools/perf/scripts/python
parent7e5ed9f5e012f21a1514edcf8c35b9b4cfbd96c3 (diff)
tty: serial: samsung_tty: do not abuse the struct uart_port unused fields
The samsung_tty driver was trying to abuse the struct uart_port by using two "empty" bytes for its own use. That's not ok, and was found by removing those fields from the structure. Move the variables into the port-specific structure, which is where everything else for this port already is. There is no space wasted here as there was an empty "hole" in the structure already for these bytes. Cc: Kukjin Kim <[email protected]> Cc: Hyunki Koo <[email protected]> Cc: HYUN-KI KOO <[email protected]> Cc: Shinbeom Choi <[email protected]> Cc: Krzysztof Kozlowski <[email protected]> Cc: Dmitry Safonov <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions