summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2024-12-16 23:11:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-24 11:48:09 +0300
commit86a5f32ed8813d5534d3d6c77aad29184a9f99b6 (patch)
treef028ce734071475fd085107173be6f9f3c907e90 /scripts/lib/kdoc/kdoc_files.py
parent55b7aee990ef786251e0e37f8285c32b4193f419 (diff)
downloadlinux-86a5f32ed8813d5534d3d6c77aad29184a9f99b6.tar.xz
drivers: base: test: Add ...find_device_by...(... NULL) tests
We recently updated these device_match*() (and therefore, various *find_device_by*()) functions to return a consistent 'false' value when trying to match a NULL handle. Add tests for this. This provides regression-testing coverage for the sorts of bugs that underly commit 5c8418cf4025 ("PCI/pwrctrl: Unregister platform device only if one actually exists"). Reviewed-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Brian Norris <briannorris@chromium.org> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Reviewed-by: David Gow <davidgow@google.com> Link: https://lore.kernel.org/r/20241216201148.535115-4-briannorris@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions