From patchwork Wed Jan 10 19:49:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lechner X-Patchwork-Id: 187029 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1019937dyi; Wed, 10 Jan 2024 11:54:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYqLDZhkTMKKY/7BvGIbQTU41kRE58qzihQlC6pvJzsCGnpPPEq3IlWVPdCVeVcLokLVmO X-Received: by 2002:a17:902:7ec9:b0:1d4:3ef:2810 with SMTP id p9-20020a1709027ec900b001d403ef2810mr49453plb.107.1704916468107; Wed, 10 Jan 2024 11:54:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704916468; cv=none; d=google.com; s=arc-20160816; b=vv8qxmS0w3Vs90RZ9oPIJJjxCTEjC9I68XLfirkt5/ZL4A8WrOjB12c5qplNnyN0mR Gnosc2oBUPcmbGccZm1GQ8OqRJdBNUD6cw/AKMqIuj8P14B9+CiVbuo90iPTAGqSLyCB Yk4bQ4peVdi8xLwAu+ZZafcudcZB69sUMKLopXUiR9SqX81Dx/7x2rtRySHghLhthsYS 6B/CkQxvQdk9BgpMN0qYb3M+/OIoiJNwKpAevrrbpbAhXekcDNG86f2QhDCSCYuG1LWf DDHGG3Czw2jgl5lntUL2R1mPCEmAS1qw5HdRiaYnyQMEHQ6Sr5wfGcfnMxJyA5mzJ+eI r8cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=uvLBZp36pzTyMACXtPdvGno5nE8Tc/vk1PKJFHFwqlw=; fh=cIqT9NcZdjUqupo3CRF2zie7E78k65IMo1it3Fi0alA=; b=y8PdgEuA2gOAJLPejAW3Bn3dt0bo7UmtTsSTw9T+gIBBbn9mIWp0tb58ArmTneipLk GQHo+wnqnoPBuk9ymH+mcIKMf1zrpRPtdAIv7bvzqawM24wjn93Q5pFrHgqfAfGa8/jq 1r8a6U3CMApmk+ZNfQsBKNG59E3qOUzXiKDH+LxIyNMjNh3fKvbjdeFsvJnsbkReMaaB vg/WQxiepOw0ex+6xKBy4clJaAigUKhir2iaCNyofsjHZjztbnh8iBZXtRQAC8fbJLN6 7jfcVHYLiXj/GcvqLemATEaJLVzdiIKN9lCyUeMPgEj8K+9R8wzx4/JmU6iwcfHrx5dh oh+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=tMK+bB8F; spf=pass (google.com: domain of linux-kernel+bounces-22680-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22680-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id jj17-20020a170903049100b001d4b0bf2d75si4198307plb.28.2024.01.10.11.54.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 11:54:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22680-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=tMK+bB8F; spf=pass (google.com: domain of linux-kernel+bounces-22680-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22680-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 97117288B98 for ; Wed, 10 Jan 2024 19:54:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BB8753E28; Wed, 10 Jan 2024 19:51:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="tMK+bB8F" Received: from mail-oo1-f54.google.com (mail-oo1-f54.google.com [209.85.161.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 856774F618 for ; Wed, 10 Jan 2024 19:51:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-oo1-f54.google.com with SMTP id 006d021491bc7-5986d902ae6so1389409eaf.3 for ; Wed, 10 Jan 2024 11:51:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1704916277; x=1705521077; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uvLBZp36pzTyMACXtPdvGno5nE8Tc/vk1PKJFHFwqlw=; b=tMK+bB8FHUKWiY4R5vG+otH2Fl8/4TA2DGMPe9VOBfcGgN3nUeqsw/qbpPo2uF5O0P rrDr4JWl/LJ39a0Rij2SrdeJI1CkjT+3FlDkDe2XCrkhldMAwVgkFNomcSGEL+WfaLXX Dsi4JwQLnY685n5mlP+IyYnJj11sMQXoUxxIqY9iDF6JSVDf7Tuncxw5LYIFa4g2BfpX omQYBiMX8ztrcb+yVkYB3rtHRrcQltIhGXGG1rjg75WVgLwcTG+DkO6pnRcRA1crjZjZ kivj4PZ278PM3jkAQfQExZK7azpKD0SskdULDLWz3kiJ+pZykeylEuO4N4ofg+Qll9Et S7Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704916277; x=1705521077; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uvLBZp36pzTyMACXtPdvGno5nE8Tc/vk1PKJFHFwqlw=; b=WkKD6aqUDCwq51E82+Cb/NK7WHf+U0eTOroojVCBIT6lcJuxTa2fE4/PALHOulGfbA p2V73D8OXMdXRpNI059+4SzHxJkUPDFEWSnSDXXFQqjLjug1B5sIQk3fj+eTOKYMR+1F Y6KlnXt/hPy9Wx1judg50csTduAdTZfpXN90rpvMCugm76wGxrOCH4DX9vLm7WtKRhTF G1C3krjdiWCrP0Der53JODHp7bGfICWlhg6j5w28z+iciO2JsH2VKb/RkY/eJYuMeZ2i dbkW6fTwn6RMiEZ+ptZ3YxD5GWF8YrxE0X35Oue1jhQFfC03g7batMhmlhXrIgmhzKkJ dvtQ== X-Gm-Message-State: AOJu0YxGAq4/DchXle10RBY/Z5fGuUKACGpCc9zSFI6H/SJ3zdqEekga QiSovYFwB0BaWZwbXvIJjvz+6WCNLKcaQA== X-Received: by 2002:a4a:3543:0:b0:598:1fa3:80b9 with SMTP id w3-20020a4a3543000000b005981fa380b9mr76085oog.14.1704916277632; Wed, 10 Jan 2024 11:51:17 -0800 (PST) Received: from freyr.lechnology.com (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 187-20020a4a0dc4000000b00595b35927a3sm938513oob.39.2024.01.10.11.51.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 11:51:17 -0800 (PST) From: David Lechner To: Mark Brown , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Hennerich , =?utf-8?q?Nuno_S=C3=A1?= , Frank Rowand Cc: David Lechner , Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Jonathan Corbet , linux-spi@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/13] bus: auxiliary: increase AUXILIARY_NAME_SIZE Date: Wed, 10 Jan 2024 13:49:50 -0600 Message-ID: <20240109-axi-spi-engine-series-3-v1-9-e42c6a986580@baylibre.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240109-axi-spi-engine-series-3-v1-0-e42c6a986580@baylibre.com> References: <20240109-axi-spi-engine-series-3-v1-0-e42c6a986580@baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787734490157212879 X-GMAIL-MSGID: 1787734490157212879 The auxiliary bus uses names in the form of "module_name.device_name" for matching devices to drivers. Since the module name is the actual module name, it can be quite long which doesn't leave enough room for the device name. This patch increases the size AUXILIARY_NAME_SIZE to 64 to allow for both a ~32 character module name and a ~32 character device name. Signed-off-by: David Lechner --- include/linux/mod_devicetable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index f458469c5ce5..4bd2d20067b6 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h @@ -861,7 +861,7 @@ struct mhi_device_id { kernel_ulong_t driver_data; }; -#define AUXILIARY_NAME_SIZE 32 +#define AUXILIARY_NAME_SIZE 64 #define AUXILIARY_MODULE_PREFIX "auxiliary:" struct auxiliary_device_id {