Re: [PATCH] sparc32: mm: srmmu: add __ro_after_init to sparc32_cachetlb_ops structures

2017-01-30 Thread David Miller
From: Bhumika Goyal Date: Sat, 14 Jan 2017 18:01:54 +0530 > The objects viking_ops, viking_sun4d_smp_ops and smp_cachetlb_ops of > type sparc32_cachetlb_ops are not modified anywhere after getting modified > in the init functions. Inside init their reference is also stored in a > pointer of type

Re: [PATCH] sparc32: mm: srmmu: add __ro_after_init to sparc32_cachetlb_ops structures

2017-01-17 Thread Kees Cook
On Sat, Jan 14, 2017 at 4:31 AM, Bhumika Goyal wrote: > The objects viking_ops, viking_sun4d_smp_ops and smp_cachetlb_ops of > type sparc32_cachetlb_ops are not modified anywhere after getting modified > in the init functions. Inside init their reference is also stored in a > pointer of type const

[PATCH] sparc32: mm: srmmu: add __ro_after_init to sparc32_cachetlb_ops structures

2017-01-14 Thread Bhumika Goyal
The objects viking_ops, viking_sun4d_smp_ops and smp_cachetlb_ops of type sparc32_cachetlb_ops are not modified anywhere after getting modified in the init functions. Inside init their reference is also stored in a pointer of type const struct sparc32_cachetlb_ops *. So these structures are never