Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2601442rdb; Mon, 5 Feb 2024 11:25:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQFKgYgC551Q+GI8xT37gOivYrQ6qi0imwQaejuDdYGaHQ6/ECJEvRV2L4vfrR/mBaSKa+ X-Received: by 2002:a05:6a20:4323:b0:19e:367a:2ca9 with SMTP id h35-20020a056a20432300b0019e367a2ca9mr577293pzk.8.1707161116844; Mon, 05 Feb 2024 11:25:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707161116; cv=pass; d=google.com; s=arc-20160816; b=AEpBaK3EG+l2HxEN9njCee4RBjYCzvzREyNweb/HioveDvy+xfp4YT8LQGAbW3MjNn PeEYeGQbQYi3r6MiyEGW2kMv3H5Q5gHapq6gurLtl4Q5XSxzTJCI9uodKqHwOQgDasCO 6loK3CSX3+UwqhVztjlXiMWsRyC8pkZSyN21euUDEuKJ8MA96IB4/SKMueM+kXFgcgPN ZqymgZt26tgrQaRaepsSzQKrqJRlx28d9eHWthPKvOY1l0XHGiOK31SwdOqcMejM+ZEY OMrD/oHaum3P8Th5dwr3KEOEoEzVRPDg/MWzxDwh43B6Mlrh+MUxWWd5nllnIGY3rjI9 fj3Q== 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=fO1cFm9EoPrrq2gQETkLV5+L2UnzKh0imZJI+dS739s=; fh=njp2uzREEvNwQNRbXC9S18MuRkp/ZVj2OL6OIVgSRXg=; b=qc+mQ072MMg2BaXG7dmY5i8zrrXJVLjNIG//kz4ys+ATJAwTle+z7AkEk0B81NkWFp QSAzalNQV5azEfJxjs9alSLL0VbWcu2opOwNvGBs5ugxPVPL4ZrE0HHfwSY4ehlnOWEI GetZJZAiQXuaBfoT7VOyJX7uFLgffkGWA2SlgkNYuFbKieA3t+c11tBlehYJrjYO2GnW 7dWWliSn71cKiFB1CdhGxNP8ftAOsE+BLm3+b+SJcRJF43wO/ISYS0aBD3UHbhclU3Hx HDTf6PQ36p9XEZWeKzIBxTSQ565PGAC/tItxAfwV/RomqOOVuZcxhABDUIOlMkNzLHkm EieQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QK1V4NEZ; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCWEI5jg5nbdtLZt/NjqYb+2OCp0zwuZzfQwj8UxqwkyPk2/wbtqn6c+f5LVYXK/nZpVn24KoLMCeZZXJ2zzrAFI8FcZOlhyOSh/YBuvMA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c16-20020a63d510000000b005cfbd17c5efsi297615pgg.672.2024.02.05.11.25.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 11:25:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53280-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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QK1V4NEZ; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53280-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 964C4B21AF7 for ; Mon, 5 Feb 2024 19:04:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 013604B5C1; Mon, 5 Feb 2024 19:02:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QK1V4NEZ" 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 24C5C48CFD for ; Mon, 5 Feb 2024 19:02:51 +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=1707159772; cv=none; b=aczzGNLkS32tQgS34ZILCYyw66v4eFkYCsQHMTI1AfVQUYqri+xrvXNk0bMKRfM6cHwF5Pmc4J+vpEWWmm7X5MiOh1cWyRHJ/eOQ5Nrs3Yv3JzG0+qi189j4vu3qF5IEvK/IywoN2zfPQkLFS4BYc+PySWcm89S3Lxvre/Y+LJ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159772; c=relaxed/simple; bh=wDiHOzc4ncmuKrZmIqIjum1q/1JepiL3RZh/D8Jmayk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qSqzeZgfo+YnbZErerIuuJKlpMjQnZj3rnZmcXINP81cOU+RX5DJ/Fmcd69dFRmkqMeWVv81PN40LqLkjMau/+cCnQZuRRFWsFuE1z0+nK729YtXEMH2IDqRojXRbcT6AI5pQh9COyioRmFqhvNsVuwtvqg5ZCKPz2/hOT9lbYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QK1V4NEZ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45A17C433F1; Mon, 5 Feb 2024 19:02:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159771; bh=wDiHOzc4ncmuKrZmIqIjum1q/1JepiL3RZh/D8Jmayk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QK1V4NEZpX8eT8hTZfMmTZ7ZJSWGzqV1XLTR87UfH2/TgkgX3VZiuRmVKoMIs/xr4 fD5RAPOJIMOel6Q+2c1dYD7ML2PI8y4IxXuZQT7x7rs/f4JLqcK6XhX4OayBv+kDIn 3bM1ESHJQWXB4SRvBHoPn3V7SKBvzwrob1CVs3uw= Date: Mon, 5 Feb 2024 04:45:52 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Thorsten Scherer , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Pengutronix Kernel Team , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] siox: make siox_bus_type const Message-ID: <2024020546-spied-fraternal-d5e3@gregkh> References: <20240204-bus_cleanup-siox-v2-1-3813a6a55dcc@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: <20240204-bus_cleanup-siox-v2-1-3813a6a55dcc@marliere.net> On Sun, Feb 04, 2024 at 07:26:42PM -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. Move the siox_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