drivers/macintosh: make wf_control_ops and wf_pid_param const

Michael Ellerman patch-notifications at ellerman.id.au
Wed Aug 16 22:29:53 AEST 2017


On Fri, 2017-08-11 at 17:38:45 UTC, Bhumika Goyal wrote:
> Make wf_control_ops const as they are only stored in the ops field of a
> wf_control structure, which is const.
> Make wf_pid_param const as they are only used during a copy operation.
> Done using Coccinelle.
> 
> Signed-off-by: Bhumika Goyal <bhumirks at gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/1ad35f6e2864d9b52fe9705ede1730

cheers


More information about the Linuxppc-dev mailing list