Hi Neels,
On Mon, Mar 14, 2016 at 11:52:39PM +0100, Neels Hofmeyr wrote:
The introduction of gsm48_hdr_pdisc() caused a new compiler warning. In gsm0480_decode_*(), the gsm48_hdr is const, which we can safely cast away to avoid the warning.
Why does gsm48_hdr_pdisc() not take a 'const struct gsm48_hdr *' argument in the first place? I don't think it modifies the contents of the structure...