From patchwork Mon Feb 26 11:09:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 206570 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1999190dyb; Mon, 26 Feb 2024 03:09:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVBVPlEfoG9vjW42rSi74Ww+Gmjm4UXF/DBgH9e/mt1iA1iGab7sRYoPBvmPLeS9YC/J6YwuQ6CwUxfvqGAJpygJvWJ7g== X-Google-Smtp-Source: AGHT+IEcU5VbIToZjwFUmtUkJOWyVnWXEpfhrEc7NfewE0VoouNZzS9FrfLD6ju1XwKuhKKNlDL4 X-Received: by 2002:a05:622a:55:b0:42e:7e9c:7b43 with SMTP id y21-20020a05622a005500b0042e7e9c7b43mr3659000qtw.23.1708945798317; Mon, 26 Feb 2024 03:09:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708945798; cv=pass; d=google.com; s=arc-20160816; b=DDCHdy6e6PpDZPUzlTKtduL5fWCiI5v8Avvst7TQGc7gLt/yHwsQZCbdvi69/ksL1C f+UUjPCipmzuos/+bQGvMfm93PXBN3WH/f/D7P16XKSLFFTy1JL+TUxV9VMenipKQlo1 /DPoW88zDEBKKXqiRyqgFOj6rg5Wvo5gcA2p2jZ9Xf5662Ri16EM+ngjVf4KhNMVBkJ5 F5M/b4/m6oWFliCLm8Ve14mX0d2n0oqMriBcYgRf44gQj5f7W+b70pGRtq+uDRtXQ3D1 x2lyI458tYWpYwKx7Z6eI343fTZnrcpWnyj9WOtJHy8BnAFsXrpbq5J0XK9oDAYW+NlC QcGQ== 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:message-id:date:subject:cc:to :from; bh=SOcq73YfjJBnpFh0Hskq2IXRyhK0WLiJ1hREj/Eb++4=; fh=04fVWq8KuwOeGDtHWhjgzhvtBiaqZg2t1vIZecNqiCs=; b=mWp6X7GoboodBNZhF4uf/zVlUWQWo30NcSwb6Lej9FJEcsfe5vK/dDx6YpMiU3KfDP T83zVqYanTTJsZmrDy4Eua9UooENFCZcTc4l9tE0tyRbfT1C1UMND4ruOExnTohVbkxS UoDjjeNi75I4vgIiKQcPD0gp+WBnXAzebiR302Q1X0n40oFfS3kc6bbEumVDlCdOqYZE 5NQt/50SDZMWV91OihuqFsvCVQ85YMKfOrYwelSx+riX+t8eN9oJXRxB8zJegNH3r0dT OJ14y7qQufzAdXe8u9qnZdPPKT+WblANvz51q/f9z2V8/bDjNOgcd/UlZyR+7mUCLZNb LHrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-81252-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81252-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s7-20020ac85cc7000000b0042e918650a6si132333qta.84.2024.02.26.03.09.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 03:09:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81252-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-81252-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81252-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 218241C258EB for ; Mon, 26 Feb 2024 11:09:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 31F111DA53; Mon, 26 Feb 2024 11:09:44 +0000 (UTC) Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [195.130.137.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EB8C1CD35 for ; Mon, 26 Feb 2024 11:09:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.89 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708945782; cv=none; b=taeJ0q+u7zVBm6TllDW7gvgV/EE4Ws9o8b+NhIu2IQB7+V8EMhH76IjjNNgQ0nsDF7w8g1d9UcX06TdRyDA3AvS6brkYwujc1dw2zxrwhZbQ1GmuuG5L3orYrW4d32dQBOKmGN91loTTQ9H0MhTk01DL1VoVuDOSG4pCqVJeCcM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708945782; c=relaxed/simple; bh=QfAbmpSdPxk3PLAQItfucxGrrmocc9C9SjRrIqs0/z8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=GLtC/RFl0APafKckrfRbysUf+M5c0JS6NK4/5bWBIuHDEXKceHloMG35HJgx+z56HDar9CM9+BpxttU2INdhi2A0/g2oHYFeGQlFq+HFADu1vG5DxIC4FvZDHEOtG6ZsGPCs+l1k7ikgttd9Us27xF8b8jsp0uHVcUBIWbm6ROE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:7662:e968:947d:f3d0]) by laurent.telenet-ops.be with bizsmtp id rn9X2B00L5Kh3Z501n9XlV; Mon, 26 Feb 2024 12:09:31 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1reYrK-001lYB-29; Mon, 26 Feb 2024 12:09:31 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1reYrT-004NKE-Ii; Mon, 26 Feb 2024 12:09:31 +0100 From: Geert Uytterhoeven To: Antonios Motakis , Eric Auger , Alex Williamson Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] vfio: amba: Rename pl330_ids[] to vfio_amba_ids[] Date: Mon, 26 Feb 2024 12:09:26 +0100 Message-Id: <1d1b873b59b208547439225aee1f24d6f2512a1f.1708945194.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791959549666996742 X-GMAIL-MSGID: 1791959549666996742 Obviously drivers/vfio/platform/vfio_amba.c started its life as a simplified copy of drivers/dma/pl330.c, but not all variable names were updated. Signed-off-by: Geert Uytterhoeven Reviewed-by: Jason Gunthorpe --- drivers/vfio/platform/vfio_amba.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/vfio/platform/vfio_amba.c b/drivers/vfio/platform/vfio_amba.c index 6464b3939ebcfb53..485c6f9161a91be0 100644 --- a/drivers/vfio/platform/vfio_amba.c +++ b/drivers/vfio/platform/vfio_amba.c @@ -122,16 +122,16 @@ static const struct vfio_device_ops vfio_amba_ops = { .detach_ioas = vfio_iommufd_physical_detach_ioas, }; -static const struct amba_id pl330_ids[] = { +static const struct amba_id vfio_amba_ids[] = { { 0, 0 }, }; -MODULE_DEVICE_TABLE(amba, pl330_ids); +MODULE_DEVICE_TABLE(amba, vfio_amba_ids); static struct amba_driver vfio_amba_driver = { .probe = vfio_amba_probe, .remove = vfio_amba_remove, - .id_table = pl330_ids, + .id_table = vfio_amba_ids, .drv = { .name = "vfio-amba", .owner = THIS_MODULE,