Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2376813rdb; Mon, 12 Feb 2024 02:53:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUwNj6M1qVrV/XA0egqCrQF0bzHYVd6Bh2yZYIjWs0D2iwHlHxOT8ylF3iyeFnQNh0TVd1c6hdb0KvpVpcT0cWDyR/2Sk1/qHp9SRxPpA== X-Google-Smtp-Source: AGHT+IGOC88HrhL/aMmEgte7PJIwGQ61ymMGt2yqdjBrBhYqntM6/udMoIemHCGY0N9jvsaujjzX X-Received: by 2002:a17:902:ce8f:b0:1da:eed:f25b with SMTP id f15-20020a170902ce8f00b001da0eedf25bmr7594024plg.46.1707735200339; Mon, 12 Feb 2024 02:53:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707735200; cv=pass; d=google.com; s=arc-20160816; b=F5cs+aNAWNH/GC6u6dQku7fIRwyNA2IGqpVH7tVjV7Ej2Ip8cYW6fxjU8QwOTYgkfX EEhgM4g9Pf4mqLFe18k+buA1uAWgf1+sbfEXrpUrBF42XxA11POcNDutBZmmCbFxpFZg 307t5PshNiFXhCoriXZeiD63l4d6hCBqvTqEq1EOQq3rIxmFSqX7XlJuBAZrDmJ889T0 9QmwEs+tZsKRh1+ZGUzt9kZVQxCQHllT4tq3VTJ+Xq0D74KMFfogY5e1/wcp0RNonJoe mDFx8fCjxZDzKEvUQMzPdLt1E9dpnsKugkC0dhsy6KDThtWZGBaofL+AShKCWfxXfX1T aUwg== 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=QEu9+zapsjcps32DPsWU/CW1hGyo2NWPZlYcnRPQ5x0=; fh=y96RaO3oXrzCVVVicTNK0UUBsLCBduUuEIl6oW4qc0M=; b=F9U8KUP2kjFpCg/NMZNDjMwBFeItAv1tUZ7Xhd6c6QXiToynQqyTNdzpiX+Lmzy+p8 nF10Ge2I8ixcG598/m499ONeHSJ5axVIScCnrIcX30dS0of2S02i9c4UiKTK2zZWjrW0 y2v3CvpqbvO1y6Rzd12tGvTIE4H0yEIrT1vYWgBeIlkZS6EjYGX+XVeiKzw8eqhzn9rh ozA7tesXNuq70xfBgPJw19euXZbSH5j/Nyboy+xcY8wmWrM8z1Uh6dmlMItoDZ4AwLok hlUvWrQjsJaYK3ILAwRbB9VnDNTLd2aE4PKdnPG2kpESSuW5K7961lYu3koK7cED5mD6 yyYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=slSS0wKF; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-61348-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61348-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCVcjelIx6z9201qdE4TrMxx5PvATxs/6Lq6idkM3St3d/y9P4YLzHC2DGNCmI5barQd4j0yzbiGEigNVxRXRSei9ZLLMQwjB28Ci6cp1A== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id lk16-20020a17090308d000b001d723edc053si79513plb.77.2024.02.12.02.53.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 02:53:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61348-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=slSS0wKF; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-61348-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61348-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8962DB23964 for ; Mon, 12 Feb 2024 10:46:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 036972BAEA; Mon, 12 Feb 2024 10:44:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="slSS0wKF" 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 2330A3A1B7; Mon, 12 Feb 2024 10:44:37 +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=1707734677; cv=none; b=V1Nm/NGa6YxshZylnQcWqaVZ0S3N3/Dd9bpuXaDdBtBZiHIWqhp6THx+E0kHXF06YPYfQdEwrKl5L/Ip068y9KaTUApPZvt8DkPsn/aaqvo4TS9LG/hEBQpT7rqxSA9dmVmBXBT6ApC/38OWwBLVTxSJHH0H2IGXrcKlAMH9zWo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707734677; c=relaxed/simple; bh=1Da0/DMjh5jC40KWF36hmD167HiYbe6VGLGiN6+EOZY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aXkJbjo21WLsxXWg9xEqn0MXN4P50o0oIBtJY6N1PsM2oxesI3iYoFQm7D2Iykj3Y5O5LofRNpQlfvmJ/g2h3oh0a8j8pgPtOsG6RxMnUbL03Iwxg0EEhS4tRey9Bt89GIOcX+oxmUCjqUOvPjSNSkWij5lOTC8dVU70HGVi6m8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=slSS0wKF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BB1FC43394; Mon, 12 Feb 2024 10:44:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707734676; bh=1Da0/DMjh5jC40KWF36hmD167HiYbe6VGLGiN6+EOZY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=slSS0wKFkfcyIET03u1K8ISsRUBgHmeTeW7JXq7Hgekjzt80kPsKab34n/6p5qIRl mjVDYgXNTcOQeKrNcOhkNkt0RHoKj1R8+oltlQuHKXtWdzL+5q2da8gsDY8exI9eEe 9a9++SciZK5Q6Xc8EShZALY4pJt2wRzEWusoeTzE= Date: Mon, 12 Feb 2024 11:44:34 +0100 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: "Rafael J. Wysocki" , Len Brown , Robert Moore , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev Subject: Re: [PATCH] ACPI: bus: make acpi_bus_type const Message-ID: <2024021222-overhead-kudos-3565@gregkh> References: <20240211-bus_cleanup-acpi-v1-1-08540c6e9458@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: <20240211-bus_cleanup-acpi-v1-1-08540c6e9458@marliere.net> On Sun, Feb 11, 2024 at 12:37:11PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the acpi_bus_type variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere Reviewed-by: Greg Kroah-Hartman