[lkml]   [2020]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] atm: atmtcp: Constify atmtcp_v_dev_ops
From: Rikard Falkeborn <>
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 <>

Applied to net-next

 \ /
  Last update: 2020-09-29 01:15    [W:0.030 / U:1.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site