Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp385747pxb; Wed, 3 Mar 2021 05:55:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvEB05opLcv/751OpHRQ5kY1vttWgx/Xkg5Jvbj3MGW6gK0Smz7RS59UiOqrGzpArVW1Se X-Received: by 2002:a05:6402:84b:: with SMTP id b11mr16279018edz.56.1614779741781; Wed, 03 Mar 2021 05:55:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779741; cv=none; d=google.com; s=arc-20160816; b=VZDcGNzw1qRYGlCn9IPoM8tgAamJVeb40ZYspG25DhvTXwluRiW5TwGTkLVC9MJQwZ lB54jW1Oj5CmUgGmivldIloa9ZKbFMK4jyPwKffxQd8cTgScPwjv+9ZQDdwsMJEOIklW dFdvUlPF/t0Ok6gaf0r4N8ZqLL48bUAk14ik8sRh7f/vOz/+aJ/n7ftm+YpUheSUsiSW diItq+zWmzVw9WUQxfBv2hRi4JkE4RxTn8rw9CtoaxJSoj/xiV4vKMWDDCzPBZuGgNt2 aT9nuYU6MQsLHhG/yjg8Ho7PHfB5orhOtr2xaO5Zy6xUtsTqCaD0AVgu3Dr4kkYXjOEo Ydjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=jFnk4rg12kAO/QgNb6wTm412CDvKqsCu6uGX/I+uuoU=; b=mBHh60vWsOHl8iewiRkRQlXtxV8VqfG0On3uiADweUMCeZNpg+4YZ16Tl0jVD1mTqi njy8i8UVuM4GjcwJ+l6ijXOnh9K8B/Jr8nGtIuoHpWyty9x26saquvl/mVTwacNiJ1Ww WhaO+thwXUOXeFO+zPOltvicR6yuJz17FMo9GcBzrwLgnskFRsicZVmdQpvePnruL+Re rlMXedBULM6GviczLhTYeQCVroxIDfY5ix0lWRB88mvYEdT5+SDRLNlz5GbeQx8dRJ5S P90ggnEhif7PbTNtCgAJMp0q7h5Ag5JGxZ3RgghMxuXzMYX/OWCFSKuQ8fcsCw7Xt66U W9JQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z31si1316561ede.226.2021.03.03.05.55.10; Wed, 03 Mar 2021 05:55:41 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242838AbhCAUMt (ORCPT + 99 others); Mon, 1 Mar 2021 15:12:49 -0500 Received: from mga04.intel.com ([192.55.52.120]:27159 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236772AbhCARDS (ORCPT ); Mon, 1 Mar 2021 12:03:18 -0500 IronPort-SDR: jzFkkJ8xkimntsU8v9vzX+bJrj2WjrFgSRWHi6ZJzlpdV042/xCuMMbWY6jCPDNT6nvxyLW8e9 pFNFRKfNK2JQ== X-IronPort-AV: E=McAfee;i="6000,8403,9910"; a="184088036" X-IronPort-AV: E=Sophos;i="5.81,215,1610438400"; d="scan'208";a="184088036" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2021 09:00:25 -0800 IronPort-SDR: zMcPTAAj+Ck5b/wEusFaONFxoS25gXsd8WCICpontZ9GGrJ3fOEmRq2Wr+3c8G8G8HVp3BWwfg 3j5BEFpwqzVw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,215,1610438400"; d="scan'208";a="435446416" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga002.fm.intel.com with ESMTP; 01 Mar 2021 08:59:44 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 1CC4313A; Mon, 1 Mar 2021 18:59:37 +0200 (EET) From: Andy Shevchenko To: Geert Uytterhoeven , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski Subject: [PATCH v1 1/2] lib/cmdline: Export next_arg() for being used in modules Date: Mon, 1 Mar 2021 18:59:31 +0200 Message-Id: <20210301165932.62352-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At least one module will benefit from using next_arg() helper. Let's export it for that module and others if they consider it helpful. Signed-off-by: Andy Shevchenko --- lib/cmdline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cmdline.c b/lib/cmdline.c index 5d474c626e24..5546bf588780 100644 --- a/lib/cmdline.c +++ b/lib/cmdline.c @@ -272,3 +272,4 @@ char *next_arg(char *args, char **param, char **val) /* Chew up trailing spaces. */ return skip_spaces(args); } +EXPORT_SYMBOL(next_arg); -- 2.30.1