From patchwork Fri Sep 4 15:45:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 293555 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03C98C433E2 for ; Fri, 4 Sep 2020 15:46:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C1ABC2074D for ; Fri, 4 Sep 2020 15:46:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20150623.gappssmtp.com header.i=@bgdev-pl.20150623.gappssmtp.com header.b="ZLU7hI+W" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726658AbgIDPqo (ORCPT ); Fri, 4 Sep 2020 11:46:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726458AbgIDPqf (ORCPT ); Fri, 4 Sep 2020 11:46:35 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5364FC061249 for ; Fri, 4 Sep 2020 08:46:33 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id v4so6494199wmj.5 for ; Fri, 04 Sep 2020 08:46:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wTtZyQw48avsFdpHOI98/RhzmvMtVCVcNE1bMjyUXUY=; b=ZLU7hI+Wc7S/0ExzQYekPR5nYEvn3dMLSQ8I8NS3mnZfZUiBd2hetNf19N4pAZv1rI DeIhjhpv+zGnVF6vXYiT19iDuA70MNhfyPFxDNolyuYpQ+WQPep3iMglPTEWxBqZ8+oT vn7MeRdaCfJsMgVjjhpN3lDMPfwPzYCL0KCjFoh5eY59T/BCH1Bxn2ZR0G+C07XuE7fp PRgjTuH/qNg773hmdRgtGTinUP9YvmZ93r3YGgQuXB0ok8/p1MuKgYPGwYMySRAwo/Gc bEsLyowk16QRwX7LiDALkhMvoMzY75po+CjvBg0ASsdV5yorNWtDBjqCllhBUMyDBWxM XjoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wTtZyQw48avsFdpHOI98/RhzmvMtVCVcNE1bMjyUXUY=; b=hDroEbf/VpEa9mYe63KgG0PYpVUzpH0pVr74CHR2pV3DirU8y4pMJQ9CltUX0JNbkm bwRVssHLX6xF835od9gEsHU4BRdRLsb21PF7iF2YqiDFRmbIWy6aiVV1Eve/qR6JgRzF mAqF39i5nJ+GDaRk3GwUtF9q1qALRaENDHDyi/JZvby0tezz5YD0mvhrTX8j65iwUz0k 0fXcHqyuDjI9XlR/IFXUQ/7NwSY4XA0/uKNVVIe8ojsmmbLHM1+sIhM2pqxSBEhVB2vs zAmJU945Uws6Dg0RbJ+M6YMa7x0q8Va+Ul+c4lloOw+hhQfqrp+U5ZQ3EfykMWKCVRGH UZgA== X-Gm-Message-State: AOAM530qadTJ9N/TasoCB2AW34emgkB4+tA1MCuC6CAb4hARCeWHzk2U 3wLV8YJ8NGD/vajWAWqfpf8xsQ== X-Google-Smtp-Source: ABdhPJzK1kWNGIgBMdYGgwQSUscLv8S6S2shXWsDOTyjh9QvJLrxo7r/bW7tLuw/15SUb2KbDSDOUQ== X-Received: by 2002:a05:600c:258:: with SMTP id 24mr8513082wmj.66.1599234391665; Fri, 04 Sep 2020 08:46:31 -0700 (PDT) Received: from debian-brgl.home (lfbn-nic-1-68-20.w2-15.abo.wanadoo.fr. [2.15.159.20]) by smtp.gmail.com with ESMTPSA id q4sm11983375wru.65.2020.09.04.08.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 08:46:31 -0700 (PDT) From: Bartosz Golaszewski To: Linus Walleij , Jonathan Corbet , Mika Westerberg , Andy Shevchenko , Kent Gibson Cc: linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 01/23] lib: cmdline: export next_arg() Date: Fri, 4 Sep 2020 17:45:25 +0200 Message-Id: <20200904154547.3836-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200904154547.3836-1-brgl@bgdev.pl> References: <20200904154547.3836-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Bartosz Golaszewski We want to use this helper in a module (gpio-mockup) for parsing user input when creating dummy devices. Let's export it. Signed-off-by: Bartosz Golaszewski --- lib/cmdline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cmdline.c b/lib/cmdline.c index fbb9981a04a4..e194f76d546e 100644 --- a/lib/cmdline.c +++ b/lib/cmdline.c @@ -247,3 +247,4 @@ char *next_arg(char *args, char **param, char **val) /* Chew up trailing spaces. */ return skip_spaces(next); } +EXPORT_SYMBOL(next_arg);