[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <053aca41-e67d-a64d-14ed-ed5bfcc50b67@suse.com>
Date: Thu, 30 Sep 2021 11:08:10 +0200
From: Oliver Neukum <oneukum@...e.com>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Loic Poulain <loic.poulain@...aro.org>,
Wei Yongjun <weiyongjun1@...wei.com>
Cc: Oliver Neukum <oneukum@...e.com>,
Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
Junlin Yang <yangjunlin@...ong.com>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] usb: cdc-wdm: Constify static struct wwan_port_ops
On 29.09.21 15:21, Rikard Falkeborn wrote:
> The only usage of wdm_wwan_port_ops is to pass its address to
> wwan_create_port() which takes a pointer to const wwan_port_ops as
> argument. Make it const to allow the compiler to put it in read-only
> memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@...il.com>
Acked-by: Oliver Neukum <oneukum@...e.com>
Powered by blists - more mailing lists