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


Groups > linux.kernel > #1712910

Re: drivers/macintosh: make wf_control_ops and wf_pid_param const

From Michael Ellerman <patch-notifications@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: drivers/macintosh: make wf_control_ops and wf_pid_param const
Date 2017-08-16 14:40 +0200
Message-ID <uf5M5-73I-3@gated-at.bofh.it> (permalink)
References <udm4H-6pu-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>

Applied to powerpc next, thanks.

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

cheers

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


Thread

Re: drivers/macintosh: make wf_control_ops and wf_pid_param const Michael Ellerman <patch-notifications@ellerman.id.au> - 2017-08-16 14:40 +0200

csiph-web