Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4441461pxj; Tue, 25 May 2021 08:06:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+/iSNT8njtvfbGzDNIaE7cGbaW4ioZsmezPWK9qalKtVBI6A06hcqJL9N7gEViQjA1hCF X-Received: by 2002:a05:6638:3395:: with SMTP id h21mr31340507jav.44.1621955184571; Tue, 25 May 2021 08:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621955184; cv=none; d=google.com; s=arc-20160816; b=iPdq4lubDkDOgp8PJS4aRClqGkwR+JHJOu2HkNCFFT3Z6uxAHHEYGNt9yBTj26FTEw Wg12HA/KxCe2waGpgX2iLnGGldRQ9+9PlH9JrAgKJFb2eLSPz7w2JhMv/qEi1h3UGvQD 9fR0VVAszP/d67Xwk+I1Y0zHaAypDaAv+ysVzeSVxKMpYijDfYNDSr6uNJ0JmAx2jfgo BbgEVj7/gJ2QOkb7TOe7vCdAzwOAMOOD7BmAmbXmd7QOE1ZW7dcBAZPEKFLZ9Dh8rNa7 RcDWWEKDfBvu1L3SqWAEsbfSSG28Gvwso7kM+khMm3ptRA0/TawFY+tQMID30uoPPbZC 9+og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=HjaAVyjqWLnSC3FFXoJAmpMacfJ4D7tkLOeJEd/lVVY=; b=RyNSyRcHHCXaV6Xkx7ouTH4bzUHGWUhVsGBovz8yvI5nKibGXpVVgmK2o9VxV1Yhdj XLlUi7HYxhVjIiZejwjSLULchHbkerjrGoHHFQrQfg+ONT5lZ2qJGa26MRuQoaQK/1E5 UC9WGtVKraXpqAxoylBKAOCQ093TMk4urCM4UFcu/Hsd9uUMuM6BcgxB98MlIgkJTeDe lMXJq8x8xoE1c1OQdj7qBqen6j2ljCULxvZ6lqUzt+rDi0luBLll3wNggPwtOzJnZhKE LpogumeBnCaCYR9P9tiEZJVnlulDDwoJlfLr/zCBO0tEPoVxeoAq0dLPZg4xr4z2awgV cwew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=qZdJsQKm; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 17si17636039ilj.19.2021.05.25.08.06.09; Tue, 25 May 2021 08:06:24 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=qZdJsQKm; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232516AbhEYKeK (ORCPT + 99 others); Tue, 25 May 2021 06:34:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232195AbhEYKcs (ORCPT ); Tue, 25 May 2021 06:32:48 -0400 Received: from mail-qt1-x849.google.com (mail-qt1-x849.google.com [IPv6:2607:f8b0:4864:20::849]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7AE3C06138E for ; Tue, 25 May 2021 03:30:37 -0700 (PDT) Received: by mail-qt1-x849.google.com with SMTP id d7-20020ac811870000b02901e65f85117bso26058207qtj.18 for ; Tue, 25 May 2021 03:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=HjaAVyjqWLnSC3FFXoJAmpMacfJ4D7tkLOeJEd/lVVY=; b=qZdJsQKmwaRh/S8yLEHNhohKTur3L8Wo6btuJkgZbFhw6mLXc3uFvkyynYP1ZW25sQ 8A+t2ygyCl57P03POYdkVV7LgP9aXVJkunH6oxJT5jasFFdJ+6SkmzDieN+K7mFTMz3J 0954A7mmnajLatFz5t0phcn517URZQtjrSNr92KsWQm3Nc8fTwFsP45ULlH2PC9rkMU9 aHgkt+xSiFbZFxOiwio65HPy/okDvg9xZ402B0nvW1LuyL4YC2Ib11fLGJtS1hoEGvFp 5leI9boxSg856kF6NroS/fhjHEcsg3EXW2zJZxcLIBO+mOpTAzfoFZ/GHwpwunoF6+RM BScA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=HjaAVyjqWLnSC3FFXoJAmpMacfJ4D7tkLOeJEd/lVVY=; b=dkNHPQZaCRG7RiCiHmlCbCNiCDStijEf+vnX+9NRBsov7ApkTBrt2ybaWI8UnHg2Ub /REEqYfExBlx/JDUQhybBtbDhUQTnu2e/C93UVsaJKcOS8O0z5ViCQiuZN3M3QOLXY7t 9wdYjjT4z7i8xtDKpy0Gc/EVr4xlX0ZZLgz7FvI3cymFRKs8B9JKvcWrl1bVQIOigo68 prKnQ8T+3n/YAV8rw/pCOuZbdFnmb+T5oPTfhG0bjXiaCbqVzMIQvdZdurEuePJ7vOQ5 aVkSN+6P646Y08Mxm4skFcsoy7NE3vrlVSGqp2+zQ1RtUYBD7WPNDdMkoDFqBVF88kTm AbRw== X-Gm-Message-State: AOAM533ioAuOmCWCaQ1AAyLwUJAWzv2EZklE6YmhqlJ6gxeZBxNgx7uP Bo/S8cf+mO63N1gN2qwym3u+QqvQ3scb X-Received: from apusaka-p920.tpe.corp.google.com ([2401:fa00:1:b:8806:6b98:8ae6:8824]) (user=apusaka job=sendgmr) by 2002:ad4:4583:: with SMTP id x3mr35782858qvu.39.1621938636956; Tue, 25 May 2021 03:30:36 -0700 (PDT) Date: Tue, 25 May 2021 18:29:41 +0800 In-Reply-To: <20210525102941.3958649-1-apusaka@google.com> Message-Id: <20210525182900.12.I361d8bede7e78ecb42a83a42994f191b13e60279@changeid> Mime-Version: 1.0 References: <20210525102941.3958649-1-apusaka@google.com> X-Mailer: git-send-email 2.31.1.818.g46aad6cb9e-goog Subject: [PATCH 12/12] Bluetooth: use inclusive language in comments From: Archie Pusaka To: linux-bluetooth , Marcel Holtmann Cc: CrosBT Upstreaming , Archie Pusaka , Miao-chen Chou , "David S. Miller" , Jakub Kicinski , Johan Hedberg , Luiz Augusto von Dentz , "=?UTF-8?q?Ole=20Bj=C3=B8rn=20Midtb=C3=B8?=" , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Archie Pusaka Use "peripheral" and "blocked". Signed-off-by: Archie Pusaka Reviewed-by: Miao-chen Chou --- net/bluetooth/hci_event.c | 6 +++--- net/bluetooth/hidp/core.c | 2 +- net/bluetooth/mgmt.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 760e8e14e0f2..df5e17019e00 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -5404,7 +5404,7 @@ static struct hci_conn *check_pending_le_conn(struct hci_dev *hdev, case HCI_AUTO_CONN_DIRECT: /* Only devices advertising with ADV_DIRECT_IND are * triggering a connection attempt. This is allowing - * incoming connections from slave devices. + * incoming connections from peripheral devices. */ if (adv_type != LE_ADV_DIRECT_IND) return NULL; @@ -5412,8 +5412,8 @@ static struct hci_conn *check_pending_le_conn(struct hci_dev *hdev, case HCI_AUTO_CONN_ALWAYS: /* Devices advertising with ADV_IND or ADV_DIRECT_IND * are triggering a connection attempt. This means - * that incoming connections from slave device are - * accepted and also outgoing connections to slave + * that incoming connections from peripheral device are + * accepted and also outgoing connections to peripheral * devices are established when found. */ break; diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index 0db48c812662..96fedef14723 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c @@ -794,7 +794,7 @@ static int hidp_setup_hid(struct hidp_session *session, hid->dev.parent = &session->conn->hcon->dev; hid->ll_driver = &hidp_hid_driver; - /* True if device is blacklisted in drivers/hid/hid-quirks.c */ + /* True if device is blocked in drivers/hid/hid-quirks.c */ if (hid_ignore(hid)) { hid_destroy_device(session->hid); session->hid = NULL; diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index b6fa0333ca8c..9d316518bbe2 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -2959,7 +2959,7 @@ static int pair_device(struct sock *sk, struct hci_dev *hdev, void *data, /* When pairing a new device, it is expected to remember * this device for future connections. Adding the connection * parameter information ahead of time allows tracking - * of the slave preferred values and will speed up any + * of the peripheral preferred values and will speed up any * further connection establishment. * * If connection parameters already exist, then they -- 2.31.1.818.g46aad6cb9e-goog