[PATCH 1/8] agch: Recalculate length limit of AGCH queue

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

Peter Stuge peter at stuge.se
Sun Mar 2 18:56:10 UTC 2014


Ivan Kluchnikov wrote:
> > I didn't have breakfast yet but I think ARRAY_SIZE(tx_integer) is 16 but
> > the last element is never looked at. Can you confirm/reject?
> 
> You are right ARRAY_SIZE(tx_integer) is 16, actually it is my mistake,

You can avoid such mistakes by consistently using ARRAY_SIZE() when
you want to use the size of an array. Please do. Thanks!


//Peter




More information about the OpenBSC mailing list