diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-22 12:59:14 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-05-22 12:03:35 +0100 |
| commit | e7f3d11567c2c79c4342791ba91c500b434ce147 (patch) | |
| tree | d00ecd91951d8864bf1b8139bb102a4c763c2f04 /lib/memory-notifier-error-inject.c | |
| parent | 2712a7d362904d0c4283ae91fac8cea6ecd6f9c2 (diff) | |
spi: loopback-test: fix up const pointer issue in rx_ranges_cmp()
When a list head is a const pointer, the list entry for that head also
must remain a const pointer, otherwise we are just "throwing it away"
for no good reason. Fix this up by properly marking these structures as
const.
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/2025052213-semifinal-sublevel-d631@gregkh
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
