[PATCH 0/2] staging: comedi: ni_routes: fix some regressions
From: Ian Abbott
Date: Tue Jan 14 2020 - 13:25:57 EST
Fix some regressions resulting from the routing functionality
implemented for the National Instruments comedi drivers in kernel 4.20
when board-specific routing information is absent.
Patch 1 fixes a null pointer dereference, but the set-up of asynchronous
commands that use external triggers on boards with missing
board-specific routing information will now fail gracefully with an
error.
Patch 2 allows routing values for the device family to be filled in even
if the board-specific routing information is missing, which should allow
asynchronous commands that use external triggers to be used on these
boards.
1) staging: comedi: ni_routes: fix null dereference in ni_find_route_source()
2) staging: comedi: ni_routes: allow partial routing information
drivers/staging/comedi/drivers/ni_routes.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Cc: Spencer Olson <olsonse@xxxxxxxxx>