laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/dahdi-linux/+/42897?usp=email )
Change subject: dahdi-base: Adjust ppp_input_error() signature to kernel 7.1 ......................................................................
dahdi-base: Adjust ppp_input_error() signature to kernel 7.1
In kernel 7.1 since commit abb0eb0b033a0a8980eb9215e02626e4801ead3f the signature of ppp_input_error() has changed; let's adjust to that.
Change-Id: If0cdfeca7272702ba53a61d7a3c871d417efa1bf --- M drivers/dahdi/dahdi-base.c 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/dahdi-linux refs/changes/97/42897/1
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index 88cbca6..acd33a3 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -6395,7 +6395,11 @@ ppp_input(chan->ppp, skb); if (chan->do_ppp_error) { chan->do_ppp_error = 0; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(7, 1, 0) + ppp_input_error(chan->ppp); +#else ppp_input_error(chan->ppp, 0); +#endif } } #endif