Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2553008rdb; Mon, 5 Feb 2024 09:56:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+8PhwR1B9/Fo//pnPZ2qtlbyoZ0woDBA93mTmVtpfOz5l0cpHbHN7V6Dh3XXsxasg8NQI X-Received: by 2002:a17:90b:19cb:b0:296:a253:83cf with SMTP id nm11-20020a17090b19cb00b00296a25383cfmr151964pjb.29.1707155765539; Mon, 05 Feb 2024 09:56:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707155765; cv=pass; d=google.com; s=arc-20160816; b=jh3b+q1wltJB1F6n5KKjdM6qvoYTqUlL0FR768TseL/NNUx2QPpM8dRojLr7bKA2wG aShj7XF6PgkYoUqpmbSJcliS0krRlOtSUFhyC4r7YUUWvNW0ErzTVj+59eJKiGvS115I 6Cyzra6xQDsfU07K9UaneiOyLrMgK7/6IqId34LlLhsgpR3VzwECI2zJt+2LtlTG7QLB KddMACGxI5Py8TbvLIoG9y/WYO00v50qSATHT61bSW+7FVPX9z/nb2jZbPLPIwIVXrbc 0zKkbOb3AlqyJxWc5oAEoYWjtNLfBxR4d1Gve/oeNbMiR19GsLAhQWG/0nN/u4hTY731 4ZCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id; bh=YjFy7DH3rBR52b9QDdRSIWYCLqNAhzxshmI/O8ss3d0=; fh=ZdgfDqJuXeIP9M7xVWpMKUWPKXUXLy50eMcTq2d8QRQ=; b=PUWoqmMLCmq1MW7SC6V5Crr92us5j40B0G8/CeUxfS7a+1LgrS32WetR3WtTv0g96d aBUCcR8z1Wc4oeS9zInufsi+WVLkNC2OpGpvkoy6azhnnD6Me3VrZH2qcZtFubveWdKP r3g/M3K6Qbcqq+FswKKijdTxc2A/ZPOt6FCyNZ4qiu+kwRGyXzH1cy3/ui/080/50WIe RSBPUuoKihhHApLi/FBXPSvvqzgqmxxYY1j5lXDdXBoi8xzG+tL/hTa117dwnJqPdCuy pwwjih+utsBZo2+IlMSAZgK44EL7j2U13jiN538q7+2lPqbMRphzyvkHAb8diFGhIkN+ Htlg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=perches.com); spf=pass (google.com: domain of linux-kernel+bounces-53142-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53142-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVvDFbRKZ03O/bI5QPpgP2CQQ8TgDwqrLIL7923EmMNOK2ZWI2YXjPopE32CDHIiqZJgADIRdTUu9yEK8W/hqxctsSMpCgvggQDSh0K7w== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h6-20020a635306000000b005d8e22b5264si194600pgb.519.2024.02.05.09.56.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 09:56:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53142-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=perches.com); spf=pass (google.com: domain of linux-kernel+bounces-53142-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53142-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D1B60B215F5 for ; Mon, 5 Feb 2024 17:46:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3199482E4; Mon, 5 Feb 2024 17:45:14 +0000 (UTC) Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8EBD481C4 for ; Mon, 5 Feb 2024 17:45:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707155114; cv=none; b=grBfoEG6+m65wIOuxrEMV1e+uMtixwBXaxuvgQbx2Eo+sJqpuTjMm3pONG7uXaQuYp8kyBDcwDcdjMOOSJ9vxHxEJlnMA9uFGdbyxkCbS/ps74NdcuWVbxE8rJUh7RWWQwfSSiPN5u6ocb+s0JbU/38geXmzPnw5bRiB8mA++wU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707155114; c=relaxed/simple; bh=PiZXJ4aaxYl7ZK+CabntQb2voak7lEXwYk8HlmxDXXE=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=X8ftpAMccDZ4Psx1pVLblxkvOxfn8tGXNPkdFsjRszEcy2yoavOep5F5bU7iPhnpbt4DRfr7k8GoPxfVw4uAmEaImwKR7i6dfU4aHoSTxgdrcqmxQ6VEUmvWJNlBS043qSv9aBvG0ukDatdQGKkloUq5hCdBokJoyvtjwL49h8Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com; spf=pass smtp.mailfrom=perches.com; arc=none smtp.client-ip=216.40.44.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=perches.com Received: from omf17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 4122F1C130E; Mon, 5 Feb 2024 17:37:18 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA id 516E81C; Mon, 5 Feb 2024 17:37:12 +0000 (UTC) Message-ID: Subject: Re: [PATCH] const_structs.checkpatch: add bus_type From: Joe Perches To: "Ricardo B. Marliere" , Andy Whitcroft , Dwaipayan Ray , Lukas Bulwahn , Andrew Morton Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Thomas =?ISO-8859-1?Q?Wei=DFschuh?= Date: Mon, 05 Feb 2024 09:37:10 -0800 In-Reply-To: <20240204-bus_cleanup-checkpatch-v1-1-8d51dcecda20@marliere.net> References: <20240204-bus_cleanup-checkpatch-v1-1-8d51dcecda20@marliere.net> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Stat-Signature: gzao3ew1nwxzqfxqs649qff4qf9xhq7x X-Rspamd-Server: rspamout03 X-Rspamd-Queue-Id: 516E81C X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18kztLeVUC3pfHfcsg6EZsVrzry7sGTt1Y= X-HE-Tag: 1707154632-481124 X-HE-Meta: U2FsdGVkX181c3Gj3JIqM/bS7UYTXF5mUhx6oxdqTdsQ6uUth8qH8HrK7GSTHEw8lIDPHR1G41BzNzjSovjnkX62rYb8Qa8n3xustrJDAIQuFqAwrcnKLPyS3LHpurwUF16LqTl8x+IyoAhvaiO8fhAvOW7KjZKj4t13rVb26IXUPq68+fT+oSEMxhxKH9nGXCt+4Q69GIVce4mf2MpYkryzAKeQrRMdygeZRe5KGUQSmEd+EWYQC70t/piNG1Rx3tMcRd6A551WY3/ztw4isB95WgAwUSrRU76WioTen3SvLpiDXw+aH06TgtzYRQdDWXqM2E911KUU2e2BP0SPhdi1ZLx50bXnM7GEKfru3m6wRdlE9iTEb6G4xUybkPRiAWe6hS54g6BCPgX6W28wXbSDGiq3wSA6UTfoeo7QW3nJsLgcmvWaRL655dBkcu7Z On Sun, 2024-02-04 at 19:39 -0300, Ricardo B. Marliere wrote: > Since commit d492cc2573a0 ("driver core: device.h: make struct bus_type > a const *"), the driver core can properly handle constant struct > bus_type. Make sure that new usages of the struct already enter the tree > as const. >=20 > Suggested-by: Thomas Wei=DFschuh > Signed-off-by: Ricardo B. Marliere Andrew? Can you please pick this up? > --- > scripts/const_structs.checkpatch | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.che= ckpatch > index 188412aa2757..7427313adc7a 100644 > --- a/scripts/const_structs.checkpatch > +++ b/scripts/const_structs.checkpatch > @@ -2,6 +2,7 @@ acpi_dock_ops > address_space_operations > backlight_ops > block_device_operations > +bus_type > clk_ops > comedi_lrange > component_ops >=20 > --- > base-commit: 41b9fb381a486360b2daaec0c7480f8e3ff72bc7 > change-id: 20240204-bus_cleanup-checkpatch-719a62209250 >=20 > Best regards,