Re: [PATCH v3 3/3] drivers: base: test: Add ...find_device_by...(... NULL) tests

2024-12-20 Thread Shuah Khan
On 12/18/24 22:45, David Gow wrote: On Tue, 17 Dec 2024 at 04:12, Brian Norris wrote: 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 regr

Re: [PATCH v3 3/3] drivers: base: test: Add ...find_device_by...(... NULL) tests

2024-12-18 Thread David Gow
On Tue, 17 Dec 2024 at 04:12, Brian Norris wrote: > > 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 t

[PATCH v3 3/3] drivers: base: test: Add ...find_device_by...(... NULL) tests

2024-12-16 Thread Brian Norris
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/pwrctr