Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3419690yba; Tue, 16 Apr 2019 10:57:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8/Z3N91kx48i+ZGKN4lE4Ih83pq/8tpfbhCLTPgKHGqGyMRPctax4lxNnkppihykGKwDq X-Received: by 2002:a63:1359:: with SMTP id 25mr76264013pgt.92.1555437422910; Tue, 16 Apr 2019 10:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555437422; cv=none; d=google.com; s=arc-20160816; b=pDLIo7ipxWkvv2mWNvNd0Wc/l/eFeLuP1aZfY08beLeYq1x3d42M+Q+v/J2P3m2C4D 0rDgNNlOzYmcBRNCpDPwYbvkfZMbRZt33BKLKj22TrvkRjs0G2iuDNaU2r9LZb4u0quS MU6B9Vr/21V3QmFqjFNCUf9Eci6cXrD2a6q/Nhh2prU9zOUEowAxEDt6496nGAmcVQJN U7w3DJmj5cluy7gvRUePYBzuKqmegud7R/owNI48fPG6LMfLx6HWeU7me4d3XkEwA54/ s2HohyGAINEhbZk15dD8Aq54ESrfWKUWD/3A+mnzT4A9JC6lk9ypCrntbp0fuOrc8qsk tpjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Rggm1Kxj05oLW+KL1Dix3OtkMuVAkLzMX1FlGZIH8ZA=; b=QTI0JzoB1Ml9Hk0OooTvjWQ4gUv3sAgqSq/aDsFNZDZYuMIYoocD6xcyjXEitMURLE 73vecIqxfiqqTZZ1Vhyqlm0Kwvtj8J5GJv5Q6g1+b1CPapab/RA+k4qvo9ZBPjpUBh4R jnjo54dCpjYQCi11Ovpoq8fEglrDuRP5Fxm/nW5/ukjqNIbbwZrtX1y7Uopg9t5ePDTf xvJ5nD92gdYDA+6CXQOA5V9KBv5csuwkAcZTYYun+wdtnPgbRmUgEqiS4fpcFKISI2FN 9z4dndtM3z7OJYrfXsZBUSyIYbaELd301MQ+TEaGrUcLcapt2QezODGggb299cem5RIQ rUfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=haQ6q1Ao; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=android.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p15si51379505pli.414.2019.04.16.10.56.47; Tue, 16 Apr 2019 10:57:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=haQ6q1Ao; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=android.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730364AbfDPRzg (ORCPT + 99 others); Tue, 16 Apr 2019 13:55:36 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:36008 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730382AbfDPRz1 (ORCPT ); Tue, 16 Apr 2019 13:55:27 -0400 Received: by mail-oi1-f194.google.com with SMTP id l203so17759911oia.3 for ; Tue, 16 Apr 2019 10:55:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Rggm1Kxj05oLW+KL1Dix3OtkMuVAkLzMX1FlGZIH8ZA=; b=haQ6q1Ao7eAttMhzROptXuOk6UCHBp9JLawViZNxngHGb80kOGxmW1IxoEoBYKyKNO T3EB46aTrzEyWNgQu8u70h3DVUo3HU+qbEtJT7oYTiQ25S7LxDQ5ulOd3eVd+tVrx004 1RYHxryN4wfRutFTo9bd+68a1AGDfMLEeZCxYlYtCEx9xoTQ7+EcYxHy1ho59/pdXj1P pC+Me5o62B9Za8dL1uv89zGHJ6tozpALgcDBo7mgQaZPzKe2n4TVkbn1lin7illoHKgW kbU2yYdCqzMq4sgW9yVmYOPNqS+aoSXAlVoBIEBzz+6nnIxfwUecxP6A93VPAb+tcDin NGKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Rggm1Kxj05oLW+KL1Dix3OtkMuVAkLzMX1FlGZIH8ZA=; b=ZCg4G9PN1YTOlM2rb5cJj+FjkWrN1m0H4hoFHV/ohQA2WqRY8TKHwRc5CXTzyloqgq OUbQTmKQVFYSSAoCxFKtR/oyYJmT/D0INLNpI5AdKwYIgwuhSlVL6za62zc7Z/tnhc1d bADpjZzyk2gDq3zk4pKP+bpszteTN3I8cyVhoUkvz0z0I0PCp10EJKS7hJhM1or1g62Q vUusRFIj2PrfkFeRLGUuUeMmlrkYKf9xQynb2JNUaHIDNx8Aja/csIQwieCi2glXaJD6 5sLtR1vjdF+tFnRWNoSatFcaaFb44Xk2ZQ4ZbFal6LmG9z+BjOpamfaOKl9nKOga6n/7 1DwQ== X-Gm-Message-State: APjAAAXBT5rPj8KQ+gv0CVNha8X7aOOI28nJqcEW0RMVmNu/mCjvp5Q6 28QppdxkspCpn02RgXzMvIBiST53ZtBMfmVzGHelIA== X-Received: by 2002:aca:cc8c:: with SMTP id c134mr25211836oig.172.1555437326583; Tue, 16 Apr 2019 10:55:26 -0700 (PDT) MIME-Version: 1.0 References: <20190415142229.GA14330@linux-8ccs> <20190415181833.101222-1-trong@android.com> <20190416152144.GA1419@linux-8ccs> In-Reply-To: <20190416152144.GA1419@linux-8ccs> From: Tri Vo Date: Tue, 16 Apr 2019 10:55:15 -0700 Message-ID: Subject: Re: [PATCH v2] module: add stubs for within_module functions To: Jessica Yu Cc: Nick Desaulniers , Greg Hackmann , linux-mm@kvack.org, kbuild-all@01.org, Randy Dunlap , kbuild test robot , LKML , Petri Gynther , willy@infradead.org, Peter Oberparleiter , Andrew Morton Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 16, 2019 at 8:21 AM Jessica Yu wrote: > > +++ Tri Vo [15/04/19 11:18 -0700]: > >Provide stubs for within_module_core(), within_module_init(), and > >within_module() to prevent build errors when !CONFIG_MODULES. > > > >v2: > >- Generalized commit message, as per Jessica. > >- Stubs for within_module_core() and within_module_init(), as per Nick. > > > >Suggested-by: Matthew Wilcox > >Reported-by: Randy Dunlap > >Reported-by: kbuild test robot > >Link: https://marc.info/?l=linux-mm&m=155384681109231&w=2 > >Signed-off-by: Tri Vo > > Applied, thanks! Thank you!