diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-13 21:29:09 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-23 15:21:24 +0300 |
| commit | 38370c4e25af7f5670787a1bb1861b289f2ad770 (patch) | |
| tree | b68c7867a78e64877388f4f3ba3ad03c1623155a /scripts/objdiff | |
| parent | 7c06be04251a0b3349868622a2111a54cbfad8d4 (diff) | |
| download | linux-38370c4e25af7f5670787a1bb1861b289f2ad770.tar.xz | |
driver core: bus: constify bus_get()
It's funny to think about getting a reference count of a constant
structure pointer, but this locks into place the private data
"underneath" the struct bus_type() which is important to not go away
while we are working with the bus structure for some callbacks.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230313182918.1312597-27-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
