Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1174028ybl; Tue, 13 Aug 2019 08:29:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxt1Tnh6MCAqbbPMLacW+WKzQEq5uENBJZR1zSsatiAaWbR4aF6qWzYOf59rX+eYaJulFh+ X-Received: by 2002:a17:902:8696:: with SMTP id g22mr5069544plo.122.1565710146751; Tue, 13 Aug 2019 08:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565710146; cv=none; d=google.com; s=arc-20160816; b=qCjF4HQ/RfW7L/82hN6K6ZpIay6/a+oI+DLMn+QnHzYatRFNqX7kKesuIs1eImfqJB xaDBc539PJ58K7bGsnZyuUdWqqzqqhSk7rxjDrBTISX4sT3RRo18ggbWnA/p6BMHuS7v 6iJ6qOj5qBwcPppNeI4Ng/jykRar9dU93S5WBEUQtQ1oUFVhkr4vCD5PKRHCCtr7PzgU fXeNXEFpBU2Ybph1MVukcbDLdlPK+sssvlsBBC26hz4B0XyxvICF7wZnVDqE673MAqIV iwWKjFcsJY7gxpH9GzV3e+ZFcK50RxaI4wHvxitdbCBpFCLLjBprigdj2cyqipIUC1NL Sv/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MyQtT1qc0Vjjk9YyoKhiWtHddLjcM8NZCAUepe8E5L4=; b=DNsR/b8yl6NaA1Wo3xtJNwTURB4XQfLrOkoxtxr584VmNY6xKNvg+8C5qku+OEND3Y HIf9syIya+RmHGPtJ+61JaBwoDATABBX+Ue9VMvzjOOS0CuCAlFj8DcbMovQa/TnDeqg ZscFrpcr2hiTJUPbRJmmVFAZw9ersEepYCLmqeiAjfb36libMH0KN2ELY3AyOg7f6QpE auLgf38Y7p2oxuxy6bpoJ4W1fPYmbik2RPn/nrZhXfnkmoxu+rDJGGjlvNLFX0GhuOHY Ib2nXG6fnetKIb9TZwbt6Tj+MFZ4211qVbajWNDPNeUnoYIuDUhmfx6uazmIXFrJFUk0 /6Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o8LZIj8A; 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 l3si1162169pju.85.2019.08.13.08.28.50; Tue, 13 Aug 2019 08:29:06 -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=@kernel.org header.s=default header.b=o8LZIj8A; 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 S1728333AbfHMMlB (ORCPT + 99 others); Tue, 13 Aug 2019 08:41:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:49960 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726974AbfHMMlB (ORCPT ); Tue, 13 Aug 2019 08:41:01 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7C82A20578; Tue, 13 Aug 2019 12:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565700060; bh=4k7N09FoQBbpkYUEeWsjRJWSOm77Guc4jfbrqH/pxHQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o8LZIj8Av9JLAkSr1LW6vj56zCTVtSzC3Z6bjx9Lb+ozorlC7bPGyHFqNzVQ0xj+m IKzAZax6AqqhPECqlrUlXgkCeruOmr09VeAxx6zuVvD8dChLo8HxzX8YYTbh/rdLRx KzfV77fMgsAapcsqGoNWtO9i1ObkQxvV/LleGZQE= Date: Tue, 13 Aug 2019 14:40:57 +0200 From: Greg KH To: Matthias Maennich Cc: linux-kernel@vger.kernel.org, maco@android.com, kernel-team@android.com, arnd@arndb.de, geert@linux-m68k.org, hpa@zytor.com, jeyu@kernel.org, joel@joelfernandes.org, kstewart@linuxfoundation.org, linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-modules@vger.kernel.org, linux-scsi@vger.kernel.org, linux-usb@vger.kernel.org, lucas.de.marchi@gmail.com, maco@google.com, michal.lkml@markovi.net, mingo@redhat.com, oneukum@suse.com, pombredanne@nexb.com, sam@ravnborg.org, sboyd@codeaurora.org, sspatil@google.com, stern@rowland.harvard.edu, tglx@linutronix.de, usb-storage@lists.one-eyed-alien.net, x86@kernel.org, yamada.masahiro@socionext.com Subject: Re: [PATCH v2 01/10] module: support reading multiple values per modinfo tag Message-ID: <20190813124057.GA14284@kroah.com> References: <20180716122125.175792-1-maco@android.com> <20190813121733.52480-1-maennich@google.com> <20190813121733.52480-2-maennich@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190813121733.52480-2-maennich@google.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 13, 2019 at 01:16:58PM +0100, Matthias Maennich wrote: > Similar to modpost's get_next_modinfo(), introduce get_next_modinfo() in > kernel/module.c to acquire any further values associated with the same > modinfo tag name. That is useful for any tags that have multiple > occurrences (such as 'alias'), but is in particular introduced here as > part of the symbol namespaces patch series to read the (potentially) > multiple namespaces a module is importing. > > Reviewed-by: Joel Fernandes (Google) > Reviewed-by: Martijn Coenen > Signed-off-by: Matthias Maennich Reviewed-by: Greg Kroah-Hartman