Change in osmo-bts[master]: lc15: led_sleep_cb: pass correct ptr to llist_move_tail

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Jun 11 11:06:47 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9534


Change subject: lc15: led_sleep_cb: pass correct ptr to llist_move_tail
......................................................................

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
---
M src/osmo-bts-litecell15/misc/lc15bts_led.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/34/9534/1

diff --git a/src/osmo-bts-litecell15/misc/lc15bts_led.c b/src/osmo-bts-litecell15/misc/lc15bts_led.c
index 603e0fb..a93d3fb 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_led.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_led.c
@@ -151,7 +151,7 @@
 			/* 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;
 		}
 	}

-- 
To view, visit https://gerrit.osmocom.org/9534
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib8bf07990800d74bfb3ad7a55eccfc65e40cd480
Gerrit-Change-Number: 9534
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180611/175161f9/attachment.htm>


More information about the gerrit-log mailing list