aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2019-10-04 15:04:11 +0200
committerGreg Kroah-Hartman <[email protected]>2019-10-04 15:14:20 +0200
commit5e9bd2d70ae7c00a95a22994abf1eef728649e64 (patch)
tree6d92b2e7232500e8370eeec4176436c2af6e3e44 /tools/perf/util/trace-event-scripting.c
parenta553add0846f355a28ed4e81134012e4a1e280c2 (diff)
serial: uartps: Fix uartps_major handling
There are two parts which should be fixed. The first one is to assigned uartps_major at the end of probe() to avoid complicated logic when something fails. The second part is initialized uartps_major number to 0 when last device is removed. This will ensure that on next probe driver will ask for new dynamic major number. Fixes: ab262666018d ("serial: uartps: Use the same dynamic major number for all ports") Reported-by: Paul Thomas <[email protected]> Cc: stable <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/d2652cda992833315c4f96f06953eb547f928918.1570194248.git.michal.simek@xilinx.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions