Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2572788pxu; Mon, 7 Dec 2020 09:49:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwc59+dka3xnns0RDvbKRUdk8Z2oLHU4yQ0pNdZTOee/XhGhZNlG3BRG9xGcNu/SyBAx5XD X-Received: by 2002:a17:906:304c:: with SMTP id d12mr20453182ejd.84.1607363397281; Mon, 07 Dec 2020 09:49:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607363397; cv=none; d=google.com; s=arc-20160816; b=zHG9vfybx9QaDqzWSNjc6VMYm6cjeBqAPTawPDmAVN4nX5lRc/Pf0zYAS8TxeyciRY zIDM/9iKc5p6dguGv+55rX3isWMyzT6XASd8eUwA4ITrV+j7QMcdfWzh94PnrWSZ7JnC P4GotZUdmL8LzUQ+W/4+k3p66gwVZf4rP6E+/rf5uYCF9lwVIYeMb7/nbYNqOmm2ENet 7Q3fjqb3ncMnMgu007l+iHXMW0cTjTvwUEcLc18aFUhPmRwllEQE2BnAUAeVsdOnQVTX MRfyFs6Nj0jgn/B1CDSlGuoercmmAoKEaW6IhyqP6802TOWNKRZEf++Wg5laJqGfcRFZ 76xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=swDulk4pfKX1zW4GpIfOIIItwpqSD+58haMkoHVYcJc=; b=dUS7MC1rNnTi0VB1gbr+z9pVvzJ95R5T0a3uaMfOpqzUBMfVu7SdY4QCvlcp9LcKzw VFnQzcVB9rsKaizHb7v3H4q4EpA6SgnJiRujjfIX1TS6jnqC4XItg7gyFvW6esuLcNjp zDjWT9os9eg3nV5Hm0mABXULuF26yq9ol/xmyQ3lj3xg7O5wYEe0siGwE9t9gG/qFEJX qz2uffaTSC25wC3AQQUQMSDMrGylWJtyOnUxAwgR3RXctE61Akh40Owjag56iiLq/Qm8 k2a14Pp3zkcN5VPZ3q22mpRj0tvpOLj0R/HcZdKjeDAUZUZH5m7jdn/SvmRATIz51zfn Gv2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si6621068ejc.144.2020.12.07.09.49.34; Mon, 07 Dec 2020 09:49:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726221AbgLGRqu (ORCPT + 99 others); Mon, 7 Dec 2020 12:46:50 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:50016 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725804AbgLGRqu (ORCPT ); Mon, 7 Dec 2020 12:46:50 -0500 Received: from 89-64-79-106.dynamic.chello.pl (89.64.79.106) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.530) id 15eef89c5e0b1054; Mon, 7 Dec 2020 18:46:07 +0100 From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Kees Cook , Hans De Goede Subject: [PATCH] ACPI: scan: Fix up _DEP-related terminology with supplier/consumer Date: Mon, 07 Dec 2020 18:46:06 +0100 Message-ID: <6314382.p3e4rEhblS@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafael J. Wysocki The ACPI namespace scanning code uses the terms master/slave when populating the list of _DEP dependencies, but that use has no external exposures and is not mandated by nor associated with any external specifications. Change the language used through-out to supplier/consumer. No functional impact. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/scan.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Index: linux-pm/drivers/acpi/scan.c =================================================================== --- linux-pm.orig/drivers/acpi/scan.c +++ linux-pm/drivers/acpi/scan.c @@ -51,8 +51,8 @@ static u64 spcr_uart_addr; struct acpi_dep_data { struct list_head node; - acpi_handle master; - acpi_handle slave; + acpi_handle supplier; + acpi_handle consumer; }; void acpi_scan_lock_acquire(void) @@ -1881,8 +1881,8 @@ static void acpi_device_dep_initialize(s if (!dep) return; - dep->master = dep_devices.handles[i]; - dep->slave = adev->handle; + dep->supplier = dep_devices.handles[i]; + dep->consumer = adev->handle; adev->dep_unmet++; mutex_lock(&acpi_dep_list_lock); @@ -2058,8 +2058,8 @@ void acpi_walk_dep_device_list(acpi_hand mutex_lock(&acpi_dep_list_lock); list_for_each_entry_safe(dep, tmp, &acpi_dep_list, node) { - if (dep->master == handle) { - acpi_bus_get_device(dep->slave, &adev); + if (dep->supplier == handle) { + acpi_bus_get_device(dep->consumer, &adev); if (!adev) continue;