Thread (2 messages) 2 messages, 2 authors, 2017-06-29

Re: [PATCH] scsi: ibmvfc: constify dev_pm_ops structures.

From: Tyrel Datwyler <hidden>
Date: 2017-06-29 22:39:56
Also in: linux-scsi, lkml

On 06/29/2017 12:54 AM, Arvind Yadav wrote:
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
  41937	   1296	     20	  43253	   a8f5	drivers/scsi/ibmvscsi/ibmvfc.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
  42129	   1104	     20	  43253	   a8f5	drivers/scsi/ibmvscsi/ibmvfc.o

Signed-off-by: Arvind Yadav <redacted>
Acked-by: Tyrel Datwyler <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help