Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp650070pxb; Tue, 2 Feb 2021 14:21:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYIVBds3O2X5s+jQRoJw88RP9I2NPHcvppBTZfWO4fi72qrjzn6N5vK9QJXhOvKgJ8kl2m X-Received: by 2002:a17:906:a669:: with SMTP id en9mr133505ejb.353.1612304482913; Tue, 02 Feb 2021 14:21:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612304482; cv=none; d=google.com; s=arc-20160816; b=pCOEG6zQN1E7jp9whf1tPbmd1QtMTXyHkCwNNfgTc1CIrQYOt4jrB5HFrrMECOqzbZ z6wUCq17GQE0bIRMDMkqEyDNToyeNIp5Pe6GVURafHC5VF6C8kFbPOgNZEobFvbvnO4U DTnOSDoPXGJb1wYpKR3i8dzCnVU4UHy994hvC6ZIrNQqLigsGXX/v2XWpZkjL8Q3NNbf qSHl2C96SS2i8Y9JNgM99dhSVIoVl2kRLsDwEMB/62V4pxtvNFAzUNLG2E5QpSIK3jTv /rND3kI3YHcWAtFycI4es4W0UHliKNsL0iwyH575NLCDQcw+EY09YL3UsBxO0fmSIO1b tnzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=5dnQn+/KzV9/p1v+MNsbvinti2MZT2BPtxJFGPZYf2g=; b=LF3oRupwtJe9611jn7mzqclFAIzF6x3CPqw2PJH6ChCKRanfdukokiNn64XlvJz/7g sk8+8vLSIptC7tXFGP9JJYqxyyarKIhgtTHyHq6NsL2OW8Hk/R1jS87DgK6h95wIsjYX skKhepXiUvN2TXfeUZJyf66mE73dmNEPhbC+m3mAIBH7tuK3g/Fq38zkAVCuPGDJSIHB qkXEn97kGJr9sMZBX0Fmlsz1Z71HQueQtQ2Hf9QDEQtxqiAHG36yr6Ty+w783wUCjILa 5Sx3Z4zYtBpTRCuA0ZL6NA5ZzO6iliUjbUHNgdN7kbRVXkaSGLj8Jqyxw4YbonKiKmnT NFkA== 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 hd36si109267ejc.283.2021.02.02.14.20.54; Tue, 02 Feb 2021 14:21:22 -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 S234002AbhBBOLr (ORCPT + 99 others); Tue, 2 Feb 2021 09:11:47 -0500 Received: from mx2.suse.de ([195.135.220.15]:40512 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233796AbhBBOEu (ORCPT ); Tue, 2 Feb 2021 09:04:50 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 17C99AF33; Tue, 2 Feb 2021 14:04:08 +0000 (UTC) Date: Tue, 2 Feb 2021 15:04:07 +0100 (CET) From: Miroslav Benes To: Christoph Hellwig cc: Frederic Barrat , Andrew Donnellan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Jessica Yu , Josh Poimboeuf , Jiri Kosina , 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 07/13] module: mark module_mutex static In-Reply-To: <20210202121334.1361503-8-hch@lst.de> Message-ID: References: <20210202121334.1361503-1-hch@lst.de> <20210202121334.1361503-8-hch@lst.de> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2 Feb 2021, Christoph Hellwig wrote: > Except for two lockdep asserts module_mutex is only used in module.c. > Remove the two asserts given that the functions they are in are not > exported and just called from the module code, and mark module_mutex > static. > > Signed-off-by: Christoph Hellwig Reviewed-by: Miroslav Benes M