From patchwork Thu Mar 4 10:24:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 1447219 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bgdev-pl.20150623.gappssmtp.com header.i=@bgdev-pl.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=S22bEp/l; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4DrnHM3wqMz9sW8 for ; Thu, 4 Mar 2021 21:32:15 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238537AbhCDKb2 (ORCPT ); Thu, 4 Mar 2021 05:31:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238517AbhCDKbQ (ORCPT ); Thu, 4 Mar 2021 05:31:16 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8663AC061763 for ; Thu, 4 Mar 2021 02:30:08 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id w11so26994884wrr.10 for ; Thu, 04 Mar 2021 02:30:08 -0800 (PST) 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=tX+a5h0CwfebfCzPciEkOjoZw92f9+5OTwDwclahb9c=; b=S22bEp/lQ+wgPshXexE4a6L9ShjGvgoPQqJeo5HuJhaERXd8vvyoV8leavK+Nl/MlQ ClNlw7/fV5rwsH/XE8tNiuWYiBCnLyLcf2qtecFlqkIgjN1XmdLdHN4FVzL9eYe0k3v/ U0vZ03JT4aqZpEv+pfP+tgi1Y2IMrKcGcpKxgdX6CdJzJNC9nkGzMqCOiIQWyTvgpWDU zE8bs40cKa0tCqulW4V/HQnGifYlWeIJUyz3uFuNwNR0JqZE0ESm5hJAXq2Q6FuzeL/5 eZekcdY2mNNMbiBmLXlQmiNClRbfJSjiAXvyKBg+da4bs/t9CEHEO2YmjeH8p4AGQ90K dWyA== 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=tX+a5h0CwfebfCzPciEkOjoZw92f9+5OTwDwclahb9c=; b=oLALXXsLwbDOJ+eOdWq+67tMsU3PVrbNrn8stetH0wfN/QsLpLTC7RqYhi/2shqeA2 91z4NQ16dOCoT58yGTsgTrs4qjLh88zG0l0lawrF4pnhSDU6UxaecBfZvPy/fq5GevP/ PMlrmYsbTt+n6Zpszvy4kDlQu4XXm9c32J3ABaC5r5hu5KwlIAUgKi8cx/Eiu8K3D3D1 T5H1PTMxebI5DGa4FX0zMkapF73ghqM04YRtzli4pLqsCiUVw4MCXKjyPe75Iu/uXhBw jHPsZgJ0us3kxLS+9zBqgEDh19IKu0whEQhjVcyPtLILxi1UQ059A3JPl8IZP4ecNxhy jaOA== X-Gm-Message-State: AOAM5319IUe8CWnDf+Ty20tNRWP+zXVa8YaZsOyGXUZHSnETXDVfBZEB D988WA6uzdptAGjsR7xYstlcNA== X-Google-Smtp-Source: ABdhPJzfb3hQojJAvThJsbOa3ghhSHpJUZBeN8kOAVh9zhmVgfChPt5ilIUuxrIXEDA/bES0G1HONQ== X-Received: by 2002:a5d:638a:: with SMTP id p10mr3405074wru.286.1614853807255; Thu, 04 Mar 2021 02:30:07 -0800 (PST) Received: from debian-brgl.home (amarseille-656-1-4-167.w90-8.abo.wanadoo.fr. [90.8.158.167]) by smtp.gmail.com with ESMTPSA id f7sm35501854wre.78.2021.03.04.02.30.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 02:30:07 -0800 (PST) From: Bartosz Golaszewski To: Joel Becker , Christoph Hellwig , Shuah Khan , Linus Walleij , Andy Shevchenko , =?utf-8?q?Uwe_Kleine-K?= =?utf-8?q?=C3=B6nig?= , Geert Uytterhoeven , Kent Gibson , Jonathan Corbet Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 01/12] configfs: increase the item name length Date: Thu, 4 Mar 2021 11:24:41 +0100 Message-Id: <20210304102452.21726-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20210304102452.21726-1-brgl@bgdev.pl> References: <20210304102452.21726-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Bartosz Golaszewski 20 characters limit for item name is relatively small. Let's increase it to 32 to fit '04-committable-children' - a name we'll use in the sample code for committable items. Signed-off-by: Bartosz Golaszewski Acked-by: Linus Walleij --- include/linux/configfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/configfs.h b/include/linux/configfs.h index 2e8c69b43c64..4f76dcc08134 100644 --- a/include/linux/configfs.h +++ b/include/linux/configfs.h @@ -27,7 +27,7 @@ #include /* struct kref */ #include /* struct mutex */ -#define CONFIGFS_ITEM_NAME_LEN 20 +#define CONFIGFS_ITEM_NAME_LEN 32 struct module;