From 080302f87070a7793d314bca6bbfbdfbe8856ec2 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Sun, 10 Jun 2018 22:54:51 +0200 Subject: lc15: led_sleep_cb: pass correct ptr to llist_move_tail Fix compilation warning. At runtime it's not a big issue because the "list" field is the first field of the led_list (struct lc15bts_led_timer_list) variable. Hence, the address passed is the same. Change-Id: Ib8bf07990800d74bfb3ad7a55eccfc65e40cd480 --- src/osmo-bts-litecell15/misc/lc15bts_led.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osmo-bts-litecell15') diff --git a/src/osmo-bts-litecell15/misc/lc15bts_led.c b/src/osmo-bts-litecell15/misc/lc15bts_led.c index 603e0fb8..a93d3fb0 100644 --- a/src/osmo-bts-litecell15/misc/lc15bts_led.c +++ b/src/osmo-bts-litecell15/misc/lc15bts_led.c @@ -151,7 +151,7 @@ static void led_sleep_cb(void *_data) { /* Delete current timer */ osmo_timer_del(&led_list->led_timer.timer); /* Rotate the timer list */ - llist_move_tail(led_list, &mgr->lc15bts_leds.list); + llist_move_tail(&led_list->list, &mgr->lc15bts_leds.list); break; } } -- cgit v1.2.3