We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2712a7d commit e7f3d11Copy full SHA for e7f3d11
drivers/spi/spi-loopback-test.c
@@ -494,8 +494,8 @@ struct rx_ranges {
494
static int rx_ranges_cmp(void *priv, const struct list_head *a,
495
const struct list_head *b)
496
{
497
- struct rx_ranges *rx_a = list_entry(a, struct rx_ranges, list);
498
- struct rx_ranges *rx_b = list_entry(b, struct rx_ranges, list);
+ const struct rx_ranges *rx_a = list_entry(a, struct rx_ranges, list);
+ const struct rx_ranges *rx_b = list_entry(b, struct rx_ranges, list);
499
500
if (rx_a->start > rx_b->start)
501
return 1;
0 commit comments