diff options
| author | Greg Kroah-Hartman <[email protected]> | 2023-01-11 12:30:10 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-27 13:45:41 +0100 |
| commit | b84d6d3b4580ad1551ada9046fbed85f3b1373af (patch) | |
| tree | a3c7f5d24da0f53b3e31bf42b730b370fed6c5c0 /tools/perf/scripts/python/bin | |
| parent | 42bb5be8936f40a1d0e618766645e7fd0cbfe591 (diff) | |
vio: move to_vio_dev() to use container_of_const()
The driver core is changing to pass some pointers as const, so move
to_vio_dev() to use container_of_const() to handle this change.
to_vio_dev() now properly keeps the const-ness of the pointer passed
into it, while as before it could be lost.
Cc: Michael Ellerman <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: "Gustavo A. R. Silva" <[email protected]>
Cc: Kees Cook <[email protected]>
Acked-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions