[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1bmp3x3zx.fsf@oracle.com>
Date: Sat, 01 Jul 2017 17:05:06 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: tyreld@...ux.vnet.ibm.com, benh@...nel.crashing.org,
paulus@...ba.org, mpe@...erman.id.au, jejb@...ux.vnet.ibm.com,
martin.petersen@...cle.com, linux-scsi@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: ibmvscsi: constify dev_pm_ops structures.
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
Powered by blists - more mailing lists