fix of osmoload, flashing c155 works

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/baseband-devel@lists.osmocom.org/.

Sylvain Munaut 246tnt at gmail.com
Sat Jan 5 14:28:31 UTC 2013


>  - I'm not sure it's the correct way to fix it. Having mgb_pull return
> a pointer to the end of the bytes we just removed seems a very weird
> API ... maybe the bug is msgb_pull itself.

Ok, I guess changing the api of pull wouldn't be a great idea because
of other users and symmetry to _put ...

But then, I would introduce a msgb_pull_buffer() or _data  that
returns a pointer to the buffer/data zone that's just been pulled.

Cheers,

    Sylvain




More information about the baseband-devel mailing list