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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPcyv4g5FjW16ALPKymokG7bVF0YL7b54qjbizHfUhCYvTEYvg@mail.gmail.com>
Date:   Tue, 24 Jan 2017 11:58:27 -0800
From:   Dan Williams <dan.j.williams@...el.com>
To:     Bhumika Goyal <bhumirks@...il.com>
Cc:     Julia Lawall <julia.lawall@...6.fr>,
        "linux-nvdimm@...ts.01.org" <linux-nvdimm@...ts.01.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] nvdimm: constify device_type structures

On Tue, Jan 24, 2017 at 11:24 AM, Bhumika Goyal <bhumirks@...il.com> wrote:
> Declare device_type structure as const as it is only stored in the
> type field of a device structure. This field is of type const, so add
> const to declaration of device_type structure.
>
> File size before:
>   text     data     bss     dec     hex filename
>   19278    3199      16   22493    57dd nvdimm/namespace_devs.o
>
> File size after:
>   text     data     bss     dec     hex filename
>   19929    3160      16   23105    5a41 nvdimm/namespace_devs.o
>
> Signed-off-by: Bhumika Goyal <bhumirks@...il.com>

Looks good to me, thanks, applied for 4.11.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ