From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932784AbcGKR2z (ORCPT ); Mon, 11 Jul 2016 13:28:55 -0400 Received: from www62.your-server.de ([213.133.104.62]:44784 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754469AbcGKR2x (ORCPT ); Mon, 11 Jul 2016 13:28:53 -0400 Message-ID: <5783D750.8070302@iogearbox.net> Date: Mon, 11 Jul 2016 19:28:48 +0200 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Paul Gortmaker CC: linux-kernel@vger.kernel.org, Alexei Starovoitov , netdev@vger.kernel.org Subject: Re: [PATCH -next] bpf: make inode code explicitly non-modular References: <20160711165101.2252-1-paul.gortmaker@windriver.com> In-Reply-To: <20160711165101.2252-1-paul.gortmaker@windriver.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/2016 06:51 PM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > init/Kconfig:config BPF_SYSCALL > init/Kconfig: bool "Enable bpf() system call" > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the couple traces of modular infrastructure use, so that > when reading the driver there is no doubt it is builtin-only. > > Note that MODULE_ALIAS is a no-op for non-modular code. > > We replace module.h with init.h since the file does use __init. > > Cc: Alexei Starovoitov > Cc: netdev@vger.kernel.org > Signed-off-by: Paul Gortmaker (Patch is for net-next tree then.) Acked-by: Daniel Borkmann