Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2350951rdb; Mon, 5 Feb 2024 04:06:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFcTvw8vNJsl7HvsKdMQl5Y7Uz5i8ja3M3nOYPTJpTypwo/2JpeOLosFALL9dBr7dDV+KiU X-Received: by 2002:a17:90a:eb88:b0:296:3eb:d028 with SMTP id o8-20020a17090aeb8800b0029603ebd028mr6801920pjy.42.1707134769050; Mon, 05 Feb 2024 04:06:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707134769; cv=pass; d=google.com; s=arc-20160816; b=JWbADU1IoVkDd0AFLp4OFWoDz0sJy0Uw9n6T+KVswGJLBa8u4UJajujMX3vt3qEbAr mlNgZWgUI1t5Uw3lN4NwKzFLxBth71WKlK9ZcP0RRGle3C1Ej8c8s6x8KuiIIolICBWT 7+HaUjbsUlKXXNqSK1zx9/xWmXXnDa+6XAchlmxkBL/fUp+jWi3mcXt7Bq2kGM8jnDl5 CRZckUDmM+GY5l1X0Rz7b6iRyA2DSkFP1cn0fm9VtNxEMykWPvMfSWzsTEEiHKmgwpyo nrlFRzZvgYYDsBJQmFvwK84OiWKcmA8v5wDNaSvxV6Rg/2u+fBbt59dtMyAaDlGrwZWY Hvnw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SFj0uVLYsdK8jnAiA/a4EnS/uC8pSu+puoOGpcFayJA=; fh=OUf/9HImtGh9dMqFeGr77q6CJApEVbCIic9BoyVU8zM=; b=QzTHgGsD/BfpObhCY2yEDF3debuOn4n5nI0myzG+z4+qCYcMGDHIYCr4CvYzaxWNno S6FMaHnPX2mKiObLOsLbE5pqkX92XdyjHz6Zm3+DcBOov59eR4skitzRywuJHaBmDDa0 fahtejuaee+Stt+X1xSQ/G+7bCSd1RXpG2B4QgpXCr4Lf07g4DR/t4mHUrwjKVNUvAkk q7PzaN6wWVg/ReklJ8B5NQFMrxXadQObeBt2EDqCMxAXrlWwP3WbtH09+k2sb9BPEwCZ 3dwVDrnQLqQHDY7KmCgyePG62kMZpwgySsGp6EZQNypJq9dgoLMF/WM56byOIM0Aw/sF amOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=jusFcVTp; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-52544-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52544-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXIqU6VUue9RNUpldF2SktISywQiayNfMbcn9h1/B8GdZe/pfkU66kC+4b5vcgYV9YLf0eJTtGX8Mw5nqsfmSiQ7dcwtm/YV6ohSZrsuQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t2-20020a17090abc4200b0028ff824b893si4372041pjv.170.2024.02.05.04.06.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 04:06:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52544-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=jusFcVTp; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-52544-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52544-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 717B2281D0B for ; Mon, 5 Feb 2024 12:03:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A6E31AADA; Mon, 5 Feb 2024 12:02:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="jusFcVTp" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 8DE211BC22 for ; Mon, 5 Feb 2024 12:02:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707134569; cv=none; b=Jb4a6hyBWoT97njDMmcRlG28/3imUXbvIHwmirAemT6O6PAzIE6FKVL3EqtDnEO383HIpKBl/JiSeU5dGo0ecEntnIDh4DuWjpPGOkQHIqEdJz7h0vZsxF6RHpwAZAD+iyNpkX9PdLtN1lT0d+wtat82wU1FjjjoDKa65pXQ9Z0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707134569; c=relaxed/simple; bh=IHuWzzoQnQ1LIc9paceiQ4UQUnyVWgqSLS2YPlzPrrg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R0OgyMVTOvHX7JdjREjYm6MDUenl8xcql7s6skV9zq1PlaWJxX8aTTjJfn3Q2pe6XkUYEHG9HozQHsB9JIVvW9s+GExvQitcUcExBvUwrq0XNL67oS2m5VxypOr/3JbGQX2t0bzG45aZbXf35gr1I0hIKeWflga87q63MihpPYY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=jusFcVTp; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1707134562; bh=IHuWzzoQnQ1LIc9paceiQ4UQUnyVWgqSLS2YPlzPrrg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jusFcVTpIpmVN7hePpiuXMCeXDry8AlRozcH8NTI8wHExMhWdHnc1zzC8DL2q4oxi b6NpidCNbgwJG1vNpUXDDHNa+mZlDf3sRuEf1RnCHPVyia/W2FmZTRYocSI95CIr8k W1EGHiOUBJf0Wujm+cmAt7kKpx38cGNFc2YDA3I8= Date: Mon, 5 Feb 2024 13:02:40 +0100 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: "Ricardo B. Marliere" Cc: Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [PATCH] const_structs.checkpatch: add bus_type Message-ID: References: <20240204-bus_cleanup-checkpatch-v1-1-8d51dcecda20@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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240204-bus_cleanup-checkpatch-v1-1-8d51dcecda20@marliere.net> On 2024-02-04 19:39:57-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. > > Suggested-by: Thomas Weißschuh > Signed-off-by: Ricardo B. Marliere Reviewed-by: Thomas Weißschuh > --- > scripts/const_structs.checkpatch | 1 + > 1 file changed, 1 insertion(+) > Thanks!