Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp180164pxb; Wed, 3 Feb 2021 02:53:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJOvP1VVMFVSwBQEIcUnSN7l5LKc78Gt3S4W9kpzSygU6+TGxPfjrV0aAAo6dTvi3iXwSh X-Received: by 2002:a50:e0c1:: with SMTP id j1mr2230751edl.253.1612349598728; Wed, 03 Feb 2021 02:53:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612349598; cv=none; d=google.com; s=arc-20160816; b=JiSQ0DyUPwR8fJpFq8x2VIM0HQ5dVDxHc4ZkXURrkav7nb3OjNEHwgPvchdF03hEIb Jsr3XDMmEn0hp5+rCg5ank61Y5xyAdweCVYGJEwUK7BKNYkY2LUHqDSoR37jM/cTCkd+ IYNZ86ZMlAfUQmSWr4ePAemwR0uge1HTonStNhkHWluC8VYH4fvZtHfi9qGvunPX5VuG M7weR7Rg7OEBk1ZswUVU51LAZwEF5dxY2oT6CM1u67fCrzWWPlTLvbW+wN7b7HVyqfhc EXXE/TlHnUsR9vV+5s5uCNgFcjd9q8S/LS5YPYW24ag84aUwPCeXPHIzhgrL79uDoVaM e7ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:to:from:date; bh=/+kL43qNzMSlQZIfigT0GTIso8uu6skhpxdx07YfOuc=; b=Vjpec6TiYvx/MxzWpa2Lj9xp8IuuQkFlzNCzyD+TZZYFkCiyGCxOT4PUY/0C9+q7HW 98MAtGh8Lb0UpPmRUQ+7bJ9/P4Eu+XkujL5vf520HnUiZG8QZyOfVySOBx3wvYWFnz0H LawnH1DrE0V+wBDRuPqVxh2stFNx0sm7VpAwx1eKNgT/y1Iaw0e46kMNwpAYwzHOI2sd gvWPhvetJvRNHtV0JcFnrMJMYE9bB/yzd35NZyqJ8qjvPlptWqaZwSqgzbmJjUyF/fOv 3zbzThhwKhJT51ujc2mfED4ctF8tHZC9F6lPD18Kl/3mliyioFuWdJcD1o3Dm2HNyPsz 2rcQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn20si1230646ejc.418.2021.02.03.02.52.54; Wed, 03 Feb 2021 02:53:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233854AbhBCKug (ORCPT + 99 others); Wed, 3 Feb 2021 05:50:36 -0500 Received: from verein.lst.de ([213.95.11.211]:50554 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233587AbhBCKuf (ORCPT ); Wed, 3 Feb 2021 05:50:35 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 3433A6736F; Wed, 3 Feb 2021 11:49:50 +0100 (CET) Date: Wed, 3 Feb 2021 11:49:49 +0100 From: Christoph Hellwig To: Christoph Hellwig , Frederic Barrat , Andrew Donnellan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Jessica Yu , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, dri-devel@lists.freedesktop.org, live-patching@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: [PATCH 02/13] drm: remove drm_fb_helper_modinit Message-ID: <20210203104949.GA9909@lst.de> References: <20210128181421.2279-1-hch@lst.de> <20210128181421.2279-3-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 03, 2021 at 11:34:50AM +0100, Daniel Vetter wrote: > On Thu, Jan 28, 2021 at 07:14:10PM +0100, Christoph Hellwig wrote: > > drm_fb_helper_modinit has a lot of boilerplate for what is not very > > simple functionality. Just open code it in the only caller using > > IS_ENABLED and IS_MODULE, and skip the find_module check as a > > request_module is harmless if the module is already loaded (and not > > other caller has this find_module check either). > > > > Signed-off-by: Christoph Hellwig > > Hm I thought I've acked this one already somewhere for merging through > your tree. > > Acked-by: Daniel Vetter The difference is that this new version loses the find_module entirely, while the previous one replaced it with the module_loaded helper that didn't make it to the second version of the series.