Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp720871pxb; Tue, 2 Feb 2021 16:39:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvpGuamn7bJBq0OAWDHxNOwBTLHBy3Qfkycc2wdl5DDYBo4y5mLqpj9pt/1OMpVUU/BB1F X-Received: by 2002:a50:e3c4:: with SMTP id c4mr617525edm.77.1612312791290; Tue, 02 Feb 2021 16:39:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612312791; cv=none; d=google.com; s=arc-20160816; b=FizeO9rq9MWYVu0tDRIaLBikz+pSnB6HRy5KkFx8erHwB72yDsQodYWfDt/xho/cJy 8FrEDxYExMMw7pWCHfZbouUykyWvRMXCRG7m8pW2ovDmfgQa6RRFSXCfDQPLn7dVi5CZ wHDwhpo3M0XgqtaV2at0BITtgAzxBlG/CikAJgnsobsqmPN8iwfudo2UYpXYU8GkT8bP uUdhJO3ZncGEgxdf4Tk6xmQUnALdXuOe0ToTVemwIJhxWlwkXPLZvP544MsbGl283xVr HyDvWJMYnmcDphgwwz9sjGWjDlBRTsTX7Qq0QE6uXT87Ncv7wiUjrTjmCS8b7Xx4FwdJ RpYw== 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=cwxhFwFo6zVOunnSO1906CnDQpDuPOA/vj5US6dbIJM=; b=K2/M8CbeuCmfs3lVEIZqG4Ke+0qWMiUOvReREIlsauB3t3aCb29idO/EpSiw4PAGRt LSZpEYxD2LSCCuw8CkTX50DAnfY+n/iYgQc5861WRthLyAWQxw09FMTIPgKYHDQAPuHw ysV415gdWmUi1oJUbw2X4YCKOJWF9cF1WXgaQETu78rg6OuHeL7Q4FppyBb17FolS8rl JZRSv2V78j3B0m3+z/XM3TNVtNEWJVEohtHaLFAbKooCjvYqNNIFbm5nKweMMm1MPns7 0iqnL83LG2CRfJi1tfgYnua73YIZR3pIvmSQRp6y0Gfw6iUa/swyXTmj4k+JLtUSWuSo ko8w== 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 bq8si299076ejb.320.2021.02.02.16.39.27; Tue, 02 Feb 2021 16:39:51 -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 S238702AbhBBSgV (ORCPT + 99 others); Tue, 2 Feb 2021 13:36:21 -0500 Received: from mx2.suse.de ([195.135.220.15]:40898 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233811AbhBBOFJ (ORCPT ); Tue, 2 Feb 2021 09:05:09 -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 803A8AE74; Tue, 2 Feb 2021 14:04:26 +0000 (UTC) Date: Tue, 2 Feb 2021 15:04:26 +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 08/13] module: remove each_symbol_in_section In-Reply-To: <20210202121334.1361503-9-hch@lst.de> Message-ID: References: <20210202121334.1361503-1-hch@lst.de> <20210202121334.1361503-9-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: > each_symbol_in_section just contains a trivial loop over its arguments. > Just open code the loop in the two callers. > > Signed-off-by: Christoph Hellwig Reviewed-by: Miroslav Benes M