aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2024-09-12 14:32:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-13 07:54:23 +0200
commit8265d06b7794493d82c5c21a12d7ba43eccc30cb (patch)
tree6b504e125429b64244ce245964162369954c6a55 /tools/lib/api/debug.c
parentb41c1fa155ba56d125885b0191aabaf3c508d0a3 (diff)
USB: appledisplay: close race between probe and completion handler
There is a small window during probing when IO is running but the backlight is not registered. Processing events during that time will crash. The completion handler needs to check for a backlight before scheduling work. The bug is as old as the driver. Signed-off-by: Oliver Neukum <oneukum@suse.com> CC: stable@vger.kernel.org Link: https://lore.kernel.org/r/20240912123317.1026049-1-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions