From patchwork Fri Mar 12 09:56:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 399085 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=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 9EC93C43381 for ; Fri, 12 Mar 2021 09:58:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 81B02651CA for ; Fri, 12 Mar 2021 09:58:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232939AbhCLJ5p (ORCPT ); Fri, 12 Mar 2021 04:57:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233366AbhCLJ5Y (ORCPT ); Fri, 12 Mar 2021 04:57:24 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25D27C061761 for ; Fri, 12 Mar 2021 01:57:24 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id u16so4452827wrt.1 for ; Fri, 12 Mar 2021 01:57:24 -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=h87jccumC6oS/Oglf5H2ioMoJmQRJZD6wd7xhfpKIok=; b=k9uA7L8IBE1dLEjKA1rPfX2KHcldVoYzn2eOjFbWT8y0IRfeiEiAgKl9bFORFx31XJ nZoN752KT0y3/Ax7g9R3kTMvec5r3QQgdhrMbrs/G2OPqBncym7VnDxearbbafhpmEoJ oFE6pHOAaE93d/PsyW2nJNbZMJCw2dVSKyEJrZAjqtL6yAHrWrnWYcHTKzWeDoXsfX6L WP0n3QvhKi3yX27SWJHWWda3x+gxIWUNkC4NcOKdgSblO/Gn5bnWEvkChO6Ad+2wWAQc clVUU0t2p5IQlysAfWwthAM/ur8jBHgzGYAYXEsQv+mSc3DWrm2STj1EQJkNbCxnrV/O I+ZA== 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=h87jccumC6oS/Oglf5H2ioMoJmQRJZD6wd7xhfpKIok=; b=q2qp8wexp2K+IImjppEx0yy2jbcrKbfrK+wvoACG9ZnhV5MjqqStk9xdvwFZ7hG6Sj OnsGgdl7FzuKr7U4bD7YP1STciFsYuVDPfBUMZR2/QyWdU2ei+SpCLJK2DKN4d5FfVSU 53eD6hT7lslQiCw8QKlOevW1CSsSY2kM9fdsgjcJ2KZlMYiBRzIChsFCsaeLvT/lrh4m gHH406fW5WcQlHO8FLibUhQp1Ri8veyv/88ym5dPCHQvfrmVqPMHB9VfcGG1F3SH8N4T hAbhrXNHiojz03cLfwCYGScNzxQFMh3oeglHmIF9lpEtkM7ypdzA7kspOV6TQtHOgRcb Gh9A== X-Gm-Message-State: AOAM530DWUSzZMAdikch8cKpemR2PZePuGOg23B+N/n/p8GmYt67rZBl z2MrRllra0WVHlXsirqNlOPP0Q== X-Google-Smtp-Source: ABdhPJwc3AB9reyfjzyfl77Ve4iOdbEW9ZNUJg2hIrx1noYkusPdsU12AJQoBdNC2hp2UF1JDuQfbg== X-Received: by 2002:a5d:5141:: with SMTP id u1mr13198246wrt.31.1615543042886; Fri, 12 Mar 2021 01:57:22 -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 x13sm7031630wrt.75.2021.03.12.01.57.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 01:57:22 -0800 (PST) From: Bartosz Golaszewski To: Joel Becker , Christoph Hellwig , Shuah Khan , Linus Walleij , Andy Shevchenko , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Geert Uytterhoeven , Kent Gibson , Jonathan Corbet , Greg Kroah-Hartman Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v4 01/11] configfs: increase the item name length Date: Fri, 12 Mar 2021 10:56:50 +0100 Message-Id: <20210312095700.16277-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210312095700.16277-1-brgl@bgdev.pl> References: <20210312095700.16277-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;