diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-01 13:06:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-16 11:38:27 +0200 |
commit | ce32eff1cf3ae8ac2596171dd0af1657634c83eb (patch) | |
tree | 7b9a5a9a26bfbd6b54fdd5e981cd26de47c4186b /tools/perf/scripts/python/sctop.py | |
parent | ad5468af799e94feef8acb2d03eb0bb724e94037 (diff) |
staging: greybus: gbphy: fix up const issue with the match callback
gbphy_dev_match_id() should be taking a const pointer, as the pointer
passed to it from the container_of() call was const to start with (it
was accidentally cast away with the call.) Fix this all up by correctly
marking the pointer types.
Cc: Alex Elder <elder@kernel.org>
Cc: greybus-dev@lists.linaro.org
Fixes: d69d80484598 ("driver core: have match() callback in struct bus_type take a const *")
Reviewed-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/2025070115-reoccupy-showy-e2ad@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions