Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1067089rdb; Fri, 16 Feb 2024 04:35:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVXi2m8B62Ot9Ps/KCqmXX69kAzcxi0KswpJIHDeCwAI7874CnqMZevak3vvPIogFY4yFilC9ie3LemxblIQKWiv6aTx2WsSf5YPWOEDg== X-Google-Smtp-Source: AGHT+IF0DFPZK8IrNROKrMbHsR++lT1TWC7hoxYxBprX5yW5QiQYwwwxIwndgqitXM3Go2hKqYRf X-Received: by 2002:aa7:c412:0:b0:563:e3f5:7711 with SMTP id j18-20020aa7c412000000b00563e3f57711mr1437645edq.30.1708086933431; Fri, 16 Feb 2024 04:35:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708086933; cv=pass; d=google.com; s=arc-20160816; b=IQJAOqecEMJKBT/JrpYlf307wrrmF2URwSLq4Cifiz97SJjcsq8eaK20Z86yM+oHjj 18PVn7NYACNMOkiZbwIGlJe6u0WqdYwX1pCVuRbp7nnTMJg73xRlxiDvBv/2jbY7KHSw E9TuHFcNXqmcnfdA0rJxjgOEWKWpY9Gmn6w5dBUJaxal87KrkLNCd469tr+MbyL1piWa JjQ1NQ4mLHBzob2WT5S9uzokJIYTGZjO+Mi7DxyUCUmaCuVDEQss8yYqhBrNVPYgZWxL Gd70KiK6PUokZpMDioUsReZzkPnBZAe+hBz+p+9g59MMxNA2zWIQl9YLXninKKeQOmWO Bvjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=C8wXrUp8BUPqoRRNgM+2otp0QM2wucVcKBKbTl9U2Ow=; fh=NZebfuJ/7c57sf/a8lmhcBLpFEPy0MUs7ACm864UBJU=; b=oDDef97qa69GpIi75G3yBU2kHugxZ3FVFJ9gqIpsV7VoIth86OBK+5/K+YEC6p5iVS 6yd9yikRzgI14tx5Gduca5VSmQ64VA36fZhe7PL+iV0S1hlCDlT9VslRXk6hifHdsNzV Z6zfVpX7Nmkc+L+d9SvxQ2Df+iROWzlgh1pXyX7eWQ69DZY8QDHQDLcIGP6zJBlfkZWu JMU2gAzVQDoqd19rYsVniatc/cTiYx6r9XzGRtKquro4U6zJETQaVsUXaLkPD7u/jvby Vzqg2ps7XoFTovHSvZdkbOWZQAhb7C3lNzOC2aCmVJrtFbctc+BMJ8j36/4bu7ER1EyY 1NWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kSljmYpH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68579-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68579-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cz11-20020a0564021cab00b00563a116e665si1553152edb.282.2024.02.16.04.35.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 04:35:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68579-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kSljmYpH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68579-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68579-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 31D381F23DE9 for ; Fri, 16 Feb 2024 12:35:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6ABF129A71; Fri, 16 Feb 2024 12:35:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kSljmYpH" 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 07731129A64; Fri, 16 Feb 2024 12:35:03 +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=1708086904; cv=none; b=bWcZLOEcbYJGMyvf6+w4UDWakayaHTQQEhoOBQ3W3j4VbSy+HrFP4unXZmxp1bugdEaTfzzElwVMhJeGhyUgmNtbU9OfuCu0sJuClB8QmF+SxXGoln6l8SmEwLk5Z0dNabcHXKOU/dX4d84kkmgD/F8E4RGihQOi/qocwrld09o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708086904; c=relaxed/simple; bh=f9p3vuSDaNnDZUBZxZEDy6+wZqVBMar8YgtJYLvVCdY=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=Df3F/2G9s/b8Xa4gg9teS9Ls6c4ylZlr4lqLWK0EvEe2eL4+zMo/PRpJj3aAG2ghNAZkVnIcTYlRludMgF4co2A9A68JAL1/dEPGO5MshC6sV4nptga4485mVzxV/wkR/05PbqiwzePELIYpEPnTu/y1JlSiEqcdu3+4lD24/T0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kSljmYpH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 683D1C433F1; Fri, 16 Feb 2024 12:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708086903; bh=f9p3vuSDaNnDZUBZxZEDy6+wZqVBMar8YgtJYLvVCdY=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=kSljmYpH9Kg2JosIDJdxZoN4kJYhfq8yu29SWWtsoWozeQ9M4n8HAAdcNtXuNnoFR ZrhbAf96iAbIHRKPh0mc1zvYUbP7LyI2Cr++jp71UPsk4+jjSUDv4RRwctU4p7+M5z 0ZAdxQXMQpmwGDF3L6Bgt3nIN0/UqM0BzJyJy7uAYSaxj8f1MomoKkhmWiHLK67vQb 1NPZwtp/FCMThwO2IBjmvcQ4D5a8h+YJ4O7IFYJkXGPFW8IRB+HfAOvxHczC3AUpHB Mq4OXNSIbgD7S1yKqnlu9bomgEendjff84v0VRaKEIDGOANIqxfhT6qrubifRjxABu U3HY3HwRgO1Pw== From: Vinod Koul To: Fenghua Yu , Dave Jiang , "Ricardo B. Marliere" Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman In-Reply-To: <20240213-bus_cleanup-idxd-v1-1-c3e703675387@marliere.net> References: <20240213-bus_cleanup-idxd-v1-1-c3e703675387@marliere.net> Subject: Re: [PATCH] dmaengine: idxd: make dsa_bus_type const Message-Id: <170808690093.369652.14612734405908397819.b4-ty@kernel.org> Date: Fri, 16 Feb 2024 18:05:00 +0530 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-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 On Tue, 13 Feb 2024 11:43:15 -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 dsa_bus_type variable to be a constant > structure as well, placing it into read-only memory which can not be > modified at runtime. > > > [...] Applied, thanks! [1/1] dmaengine: idxd: make dsa_bus_type const commit: cf497f3585f944ff42cc2c84453569f37a1bd6b9 Best regards, -- ~Vinod