linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 2/3] module: remove mod arg from module_free, rename module_memfree().
@ 2015-01-08  1:17 Alexei Starovoitov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexei Starovoitov @ 2015-01-08  1:17 UTC (permalink / raw)
  To: Rusty Russell
  Cc: linux-mips, Jesper Nilsson, linux-cris-kernel, x86@kernel.org,
	Anil S Keshavamurthy, linux-kernel@vger.kernel.org, Ralf Baechle,
	Alexei Starovoitov, Mikael Starvik, sparclinux, Chris Metcalf,
	netdev@vger.kernel.org, Steven Rostedt, nios2-dev,
	Masami Hiramatsu, Ley Foon Tan, linuxppc-dev

On Wed, Jan 7, 2015 at 4:58 PM, Rusty Russell <rusty@rustcorp.com.au> wrote:
> --- a/kernel/bpf/core.c
> +++ b/kernel/bpf/core.c
>  void bpf_jit_binary_free(struct bpf_binary_header *hdr)
>  {
> -       module_free(NULL, hdr);
> +       module_memfree(hdr);
>  }
...
> -void __weak module_free(struct module *mod, void *module_region)
> +void __weak module_memfree(void *module_region)
>  {
>         vfree(module_region);
>  }

Looks obviously correct.
Acked-by: Alexei Starovoitov <ast@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-08  1:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1420678687-30548-1-git-send-email-rusty@rustcorp.com.au>
2015-01-08  0:58 ` [PATCH 2/3] module: remove mod arg from module_free, rename module_memfree() Rusty Russell
2015-01-08  1:17 Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).