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


Groups > linux.kernel > #1358781

Re: [PATCH 1/2] PCI: mvebu: constify mvebu_pcie_pm_ops structure

From Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] PCI: mvebu: constify mvebu_pcie_pm_ops structure
Date 2016-03-16 11:10 +0100
Message-ID <rdgyR-7xF-3@gated-at.bofh.it> (permalink)
References <rdgyR-7xF-5@gated-at.bofh.it> <rdgyS-7xF-7@gated-at.bofh.it>
Organization Free Electrons

Show all headers | View raw


Dear Jisheng Zhang,

On Wed, 16 Mar 2016 17:59:40 +0800, Jisheng Zhang wrote:
> The mvebu_pcie_pm_ops structure is never modified, so declare it as
> const.
> 
> Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
> ---
>  drivers/pci/host/pci-mvebu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] PCI: mvebu: constify mvebu_pcie_pm_ops structure Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2016-03-16 11:10 +0100

csiph-web