[PATCH 0/3] MIPS: Constify static irq_domain_ops structs

Rikard Falkeborn posted 3 patches 4 years, 4 months ago
arch/mips/ath25/ar2315.c             |  2 +-
arch/mips/ath25/ar5312.c             |  2 +-
arch/mips/cavium-octeon/octeon-irq.c | 10 +++++-----
arch/mips/pci/pci-ar2315.c           |  2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
[PATCH 0/3] MIPS: Constify static irq_domain_ops structs
Posted by Rikard Falkeborn 4 years, 4 months ago
Constify a number of static irq_domain_ops structs that were never
modified. This allows the compiler to put them in read-only memory.

Rikard Falkeborn (3):
  MIPS: OCTEON: Constify static irq_domain_ops
  MIPS: ath25: Constify static irq_domain_ops
  MIPS: pci-ar2315: Constify static irq_domain_ops

 arch/mips/ath25/ar2315.c             |  2 +-
 arch/mips/ath25/ar5312.c             |  2 +-
 arch/mips/cavium-octeon/octeon-irq.c | 10 +++++-----
 arch/mips/pci/pci-ar2315.c           |  2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

-- 
2.35.1

Re: [PATCH 0/3] MIPS: Constify static irq_domain_ops structs
Posted by Thomas Bogendoerfer 4 years, 4 months ago
On Mon, Feb 07, 2022 at 10:18:13PM +0100, Rikard Falkeborn wrote:
> Constify a number of static irq_domain_ops structs that were never
> modified. This allows the compiler to put them in read-only memory.
> 
> Rikard Falkeborn (3):
>   MIPS: OCTEON: Constify static irq_domain_ops
>   MIPS: ath25: Constify static irq_domain_ops
>   MIPS: pci-ar2315: Constify static irq_domain_ops
> 
>  arch/mips/ath25/ar2315.c             |  2 +-
>  arch/mips/ath25/ar5312.c             |  2 +-
>  arch/mips/cavium-octeon/octeon-irq.c | 10 +++++-----
>  arch/mips/pci/pci-ar2315.c           |  2 +-
>  4 files changed, 8 insertions(+), 8 deletions(-)

series applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]