Attention is currently required from: arehbein.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/33206 )
Change subject: stream (cosmetic): Fix osmo_panic log fmts ......................................................................
Patch Set 6:
(1 comment)
File src/stream.c:
https://gerrit.osmocom.org/c/libosmo-netif/+/33206/comment/7ba191aa_2f81a7c3 PS6, Line 615: cli->state); there's also the __func__ or __FUNCTION__ macro that could be used here. This makes the compiler insert the function name. So something like
osmo_panic("%s called with unexpected state %d\n", __func__, cli->state);
This way it will work even if the code is refactored, functions are renamed etc. in the future.