Thread (1 message) 1 message, 1 author, 2017-07-01

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

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2017-07-01 21:05:40
Also in: linux-scsi, lkml

Arvind,
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.
Applied to 4.13/scsi-queue.

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help