Re: [PATCH] atm: atmtcp: Constify atmtcp_v_dev_ops

From: David Miller
Date: Mon Sep 28 2020 - 19:14:54 EST


From: Rikard Falkeborn <rikard.falkeborn@xxxxxxxxx>
Date: Sun, 27 Sep 2020 23:10:42 +0200

> The only usage of atmtcp_v_dev_ops is to pass its address to
> atm_dev_register() which takes a pointer to const, and comparing its
> address to another address, which does not modify it. Make it const to
> allow the compiler to put it in read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@xxxxxxxxx>

Applied to net-next