[PATCH] scsi: ibmvfc: constify dev_pm_ops structures.

Martin K. Petersen martin.petersen at oracle.com
Sun Jul 2 07:05:40 AEST 2017


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. Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering


More information about the Linuxppc-dev mailing list