lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 23 Nov 2020 16:30:48 -0400
From:   Jason Gunthorpe <jgg@...dia.com>
To:     Rikard Falkeborn <rikard.falkeborn@...il.com>
CC:     Faisal Latif <faisal.latif@...el.com>,
        Shiraz Saleem <shiraz.saleem@...el.com>,
        Doug Ledford <dledford@...hat.com>,
        <linux-rdma@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH rdma-next] RDMA/i40iw: Constify ops structs

On Sat, Nov 21, 2020 at 01:25:29AM +0100, Rikard Falkeborn wrote:
> The ops structs are never modified. Make them const to allow the
> compiler to put them in read-only memory.
> 
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@...il.com>
> ---
>  drivers/infiniband/hw/i40iw/i40iw_ctrl.c | 20 ++++++++++----------
>  drivers/infiniband/hw/i40iw/i40iw_type.h | 20 ++++++++++----------
>  2 files changed, 20 insertions(+), 20 deletions(-)

Applied to for-next thanks

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ