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]
Message-Id: <20170629.154937.1428574116488487036.davem@davemloft.net>
Date:   Thu, 29 Jun 2017 15:49:37 -0400 (EDT)
From:   David Miller <davem@...emloft.net>
To:     arvind.yadav.cs@...il.com
Cc:     benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au,
        tlfalcon@...ux.vnet.ibm.com, linuxppc-dev@...ts.ozlabs.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: ibm: ibmveth: constify dev_pm_ops structures.

From: Arvind Yadav <arvind.yadav.cs@...il.com>
Date: Thu, 29 Jun 2017 11:14:50 +0530

> dev_pm_ops are not supposed to change at runtime. All functions
> working with dev_pm_ops provided by <linux/device.h> work with const
> dev_pm_ops. So mark the non-const structs as const.
> 
> File size before:
>    text	   data	    bss	    dec	    hex	filename
>   15426	   1256	      0	  16682	   412a	drivers/net/ethernet/ibm/ibmveth.o
> 
> File size After adding 'const':
>    text	   data	    bss	    dec	    hex	filename
>   15618	   1064	      0	  16682	   412a	drivers/net/ethernet/ibm/ibmveth.o
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ