Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1009869rdb; Mon, 19 Feb 2024 00:49:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVoigzbjO0yOJgVati1c0Nv2GvsAP9zJS+9VV/7j2uo1UWaabemlIEaOzxNV2JMwW72mm8uMcTK92EpvvtYPPOVIgg5D4lrEovGw6dDnQ== X-Google-Smtp-Source: AGHT+IG5l3dkAKIxIGPi56FPY6LF83z4KVZ6ifZ4mOD88SEOTwjxLUlfQ33qYgsjlMTC9ahiqhlC X-Received: by 2002:a92:c147:0:b0:365:29f4:7e27 with SMTP id b7-20020a92c147000000b0036529f47e27mr2783311ilh.19.1708332552445; Mon, 19 Feb 2024 00:49:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708332552; cv=pass; d=google.com; s=arc-20160816; b=MhWSh7y2cR/QC/oQ91jjc2Z6urLOMzAe69q8gwQ3hkBCR+P4Ywucb29MbM7SlZI8qG LVeLsDH/geYYHv3+5FKO22PLUbage0MfADc15pA3SgEkHNutw3sdTcpcTZqXmOBVpJDm hAhYtb8fo/KsH6tL7aTpd4fgz5PuQydoMua1qLv+XW32b3EICu23RGL6c0JHKNsIy9TZ MM3h1w1aiqDl5n9olNzT3In0kZtbf4jt/s4nLoCGhBgs264nxPS5MTxBV2J0BK9eXgrr TL9hSzKhGOxYxWZW5vT1jd9t0zA07vKLGckFucCAm+HSku82CMDk6VbIcQ4EUR0WY/Lg x5LA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+B8HzOUdKCnPpAlwS6B2zMP9H/l6iM0L2pHVi7tsBuA=; fh=1pA62pyK0RE5LLJEsahNMr8e3Nk/yjbnrf7qn9hrcZw=; b=K2wOHiWB5uRdDGEevIu+xlXHMCD4FjtVgsLruI0pessWHzCL94+PTi3s8lmVNEHGxm JByTUFSm4hBneLZZTQfgSMBNSlmEP8doIrakFU64uaIKUV8GWOInZYyEc6qXdYoFqopy nAszdLdL3bcts93iV69V737eG+IcMm2OKWAjnWITU0lzrVwmTI10tvdyLIGS1Ss+9GEr gmUvNoY33h4YH/m3+Ja4laDbdrjOLAIJhVuYKzHcTqje77hNoP4giI64z7HsCKLZih19 cJxV7upiyeiBBkWv1LkBOHvBrIrwrhMc3UxBEE+53txZx3VvVbiygDPeoecFyizdJESl 0jaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sI1sDyc0; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-70962-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70962-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m22-20020a63f616000000b005d8e38097f8si4012266pgh.265.2024.02.19.00.49.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 00:49:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70962-linux.lists.archive=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=@linuxfoundation.org header.s=korg header.b=sI1sDyc0; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-70962-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70962-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 A6EF22822FF for ; Mon, 19 Feb 2024 08:49:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B4B5A21A19; Mon, 19 Feb 2024 08:48:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sI1sDyc0" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CA7652135C for ; Mon, 19 Feb 2024 08:48:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708332492; cv=none; b=o4C0XE3jj5i8+HPFsarDpnvvpsCsMQNFrMLNWDMHPQXE4+QBwor++HHvXb9Kjhi91emEOD2+RfSI3O76KaQQn5cTdvrTeA+kJkS0UyVPCq+dm/7HYOoWirxQZ1/IVQMjlbH5q4veudh0Xwd1GeiFwXa0T9lJq6rloFQ4Dec/vag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708332492; c=relaxed/simple; bh=YoIDpWDIX9pforE2WxzkzBak0O5Z/5WZ0/U6XJm1nqc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NVV08Icf+n/3QopJUJtDjhWBKoLfCSYJg4X7JY0Y2ZA/yj7hBXck/aSe18g2zqwf1QInNr7GhJBA2BR3vIlEiIiAJrvzxAcW/IqfKbN1+0vZvrVJxe3jwf9XuBn6Fu984k0smMYjY14WcUiTwGqKsqnNCat2nVEXOfam1sE0qck= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sI1sDyc0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3506C43390; Mon, 19 Feb 2024 08:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708332492; bh=YoIDpWDIX9pforE2WxzkzBak0O5Z/5WZ0/U6XJm1nqc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sI1sDyc0R39U29kfVeKCNL7WIjtcwSuzndUchHPg/ecwiYFxmSrU4L5VJjSp4Q0Gy mx94krrvHwhpPHIe6ZXDQLEMrKtr6J9gPWXsSFCsfh2Cyi+NFC7fLehI9h/tswMSt7 xnRACDjB6qNJB+37nBABU3I12Dlb0HDds4RZNtHM= Date: Mon, 19 Feb 2024 09:48:09 +0100 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH] const_structs.checkpatch: add device_type Message-ID: <2024021959-flavorful-lapped-b714@gregkh> References: <20240218-device_cleanup-checkpatch-v1-1-8b0b89c4f6b1@marliere.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240218-device_cleanup-checkpatch-v1-1-8b0b89c4f6b1@marliere.net> On Sun, Feb 18, 2024 at 04:25:51PM -0300, Ricardo B. Marliere wrote: > Since commit aed65af1cc2f ("drivers: make device_type const"), the driver > core can properly handle constant struct device_type. Make sure that new > usages of the struct already enter the tree as const. > > Cc: Andrew Morton > Cc: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere > --- > scripts/const_structs.checkpatch | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch > index 188412aa2757..5227f34a1b4f 100644 > --- a/scripts/const_structs.checkpatch > +++ b/scripts/const_structs.checkpatch > @@ -7,6 +7,7 @@ comedi_lrange > component_ops > dentry_operations > dev_pm_ops > +device_type > dma_map_ops > driver_info > drm_connector_funcs > > --- Reviewed-by: Greg Kroah-Hartman