Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1679401

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

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] scsi: ibmvscsi: constify dev_pm_ops structures.
Date 2017-07-01 23:10 +0200
Message-ID <tYxOp-6Z-5@gated-at.bofh.it> (permalink)
References <tXCn8-4LC-11@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] scsi: ibmvscsi: constify dev_pm_ops structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-06-29 09:50 +0200
  Re: [PATCH] scsi: ibmvscsi: constify dev_pm_ops structures. Tyrel Datwyler <tyreld@linux.vnet.ibm.com> - 2017-06-30 00:40 +0200
  Re: [PATCH] scsi: ibmvscsi: constify dev_pm_ops structures. "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-07-01 23:10 +0200

csiph-web