Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7152858ybh; Thu, 8 Aug 2019 10:59:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpFjHMkbdU+ctvRgBeP+sGA2lceOfECKFd8yM7YyljIMKRqp1EsdepIT3+mzTrq2yx+Jl2 X-Received: by 2002:a17:90a:2247:: with SMTP id c65mr5160137pje.24.1565287153109; Thu, 08 Aug 2019 10:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565287153; cv=none; d=google.com; s=arc-20160816; b=s0dRLEuZE9tDjKB9dqQ4FfFEK/Mqn8PZrMkrJWe32aMdWKg7X/+Hwqxt1qhW2gkpGd eBNuZm6RKArLOYZW9rnp1iQAA1jJ1TpbQYfmnE1QwyaQC8yxnw04e9aofIMGOsxogonD RN8zE8RztJIrA0dxLm+/4ga93LnCrCOA8sss1+noQQZB1vDy/v+RT4FoQewLwOmf82Dy 03EeyLlSXJrd9HRhBe8bqAbWQ+qjGVilgavsdh28mm02nEr0BzjaRQ7CK91QHRGfiSJ1 nRHx89fwCKRKpK9lJtaS7A5H88rcy3h1TDCeLRPTwkWqlRcJnMe8JZp8YCo+R7QkY2XS NkkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=u9zB/GjcNovDCdkX3xRaAhSmf4uODOyrA2wXupeS/ag=; b=nQnsEVr2awtRkvuMtBdmBbsGm8Dc40SlRDFMSyt+zdVJi6jw+0RLLGDdlSmilL2sfe 8uadZC/XBe1xXO93+/Alf9ke84d6uvjCQcXksaNJuJd4beyGl5NNF16mA5RXdwIP6TR4 JRIMCMaW6H8EBqcs83P5h9tTFIPTumk/sqijKr+1QiYyhP3YBn4wC6QUwM2G4aJhWKts lHbTEEIuWXc02LRv1Rt233EqryEF3iTjNPxHlT96Ukm2DZ/YeCaqyRI8i/mnDUoWzFWF E3OB6ec/SZQiwxtguKdKjMOPW6p2n26wLWFYvDJoxVbF48XoXAHoI9cS5ljFneFyGBdp z88Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q24si53942323pff.62.2019.08.08.10.58.57; Thu, 08 Aug 2019 10:59:13 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389751AbfHHQdz (ORCPT + 99 others); Thu, 8 Aug 2019 12:33:55 -0400 Received: from namei.org ([65.99.196.166]:39470 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbfHHQdy (ORCPT ); Thu, 8 Aug 2019 12:33:54 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x78GXbYN032334; Thu, 8 Aug 2019 16:33:37 GMT Date: Fri, 9 Aug 2019 02:33:37 +1000 (AEST) From: James Morris To: Jessica Yu cc: Matthew Garrett , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, David Howells , Alan Cox , Matthew Garrett , Kees Cook Subject: Re: [PATCH V38 19/29] Lock down module params that specify hardware parameters (eg. ioport) In-Reply-To: <20190808111246.GA29211@linux-8ccs> Message-ID: References: <20190808000721.124691-1-matthewgarrett@google.com> <20190808000721.124691-20-matthewgarrett@google.com> <20190808111246.GA29211@linux-8ccs> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Aug 2019, Jessica Yu wrote: > > +#ifdef CONFIG_MODULES > > +#define mod_name(mod) ((mod)->name) > > +#else > > +#define mod_name(mod) "unknown" > > +#endif > > + > > Hm, I don't think mod_name is used anywhere? > > But other than that: > > Acked-by: Jessica Yu > Matthew: no need to respin the patchset just for this. -- James Morris