aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthias Reichl <[email protected]>2020-03-27 15:03:50 +0000
committerGreg Kroah-Hartman <[email protected]>2020-03-27 15:24:16 +0000
commit62d65bdd9d05158aa2547f8ef72375535f3bc6e3 (patch)
treeb270c4ae6d4bf12cb5c25d9ac8f1248ae16e1e84 /tools/perf/scripts/python
parentusb: cdns3: make signed 1 bit bitfields unsigned (diff)
downloadkernel-62d65bdd9d05158aa2547f8ef72375535f3bc6e3.tar.gz
kernel-62d65bdd9d05158aa2547f8ef72375535f3bc6e3.zip
USB: cdc-acm: restore capability check order
commit b401f8c4f492c ("USB: cdc-acm: fix rounding error in TIOCSSERIAL") introduced a regression by changing the order of capability and close settings change checks. When running with CAP_SYS_ADMIN setting the close settings to the values already set resulted in -EOPNOTSUPP. Fix this by changing the check order back to how it was before. Fixes: b401f8c4f492c ("USB: cdc-acm: fix rounding error in TIOCSSERIAL") Cc: Anthony Mallet <[email protected]> Cc: stable <[email protected]> Cc: Oliver Neukum <[email protected]> Signed-off-by: Matthias Reichl <[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