Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp176720pxf; Wed, 24 Mar 2021 02:16:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx39ec4YkVm3uPngloAn8A2hnGtLt9kgfh8H6Bp2AjAtTvNcax7TLHpj9IZ4TseQioV35te X-Received: by 2002:a17:906:3643:: with SMTP id r3mr2483347ejb.527.1616577399006; Wed, 24 Mar 2021 02:16:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616577398; cv=none; d=google.com; s=arc-20160816; b=E4wzanX5m7H/U9i4XcwKJTITCs79b46jXYdzpnK3YFXQkinFHLv7XrQaDYZ8bqV/Li qfp1GJid5yCbhhnEFUiRyLvbUk8dtItfXveV+FI4N313UCo7AHNixr0/k+ascbI5io14 mH6642oRmTimyFTuRAeWvE9IRIuBBbY6O3lE9wRNBEBNOul/1xM9G7zLY74dcbp5e+nJ OZjF7gQwTtH1kZQEHAi5j907wif/wWU/3tt3/pJ6AgZwm8uekt7Psv18L6/TlPOmcL4Y HVEi6pVDwmS7EX/3d5xk6obrp7Go35m59Y15NcuZ91Nhz3331LQ2EaOgcBrZQEwFEuOZ erug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=t9ZNWaUV/p2bzFDEFagJfmKC8wCjxIPEn+Di8GA0H3g=; b=Xsriaru4UtBNMpueSL+L6dbMQRpRYf8JRFmGcNG9md+u11DMs+4Y8leFcgdGq3woMO znJcT/ljp6+XPOqM/9IASfYWIoatNVQVRy7omT7OXmb0TkqMeaWLmYuErFQe+11Jp9Cc Pz3p5VuiaiHFcyjI+va/g9JzAUV1AUJIr5odL1H3k2xVhvzwe2UnHQ34imHLSAOjYqAS SXDLJknaVxPm6jVel+EM2bPNaLWvbUzqxOfz3o2SIf7E06ouEekGHyBt08mVmiwXl6tj db4WfV2poqEktrIZT5xVplBfb+Q6pkJoy5nhi8o38GeNPgtosbFxU7tNnCfhlvs8Yy+u H8CQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si1359486ejg.130.2021.03.24.02.16.16; Wed, 24 Mar 2021 02:16:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230121AbhCXCGi (ORCPT + 99 others); Tue, 23 Mar 2021 22:06:38 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:14453 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234684AbhCXCGG (ORCPT ); Tue, 23 Mar 2021 22:06:06 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F4s3m0ZWpzwQD9; Wed, 24 Mar 2021 10:04:04 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.498.0; Wed, 24 Mar 2021 10:05:56 +0800 From: Meng Yu To: , , CC: , , Subject: [PATCH v2] Bluetooth: SCO - Remove trailing semicolon in macros Date: Wed, 24 Mar 2021 10:03:25 +0800 Message-ID: <1616551405-41488-1-git-send-email-yumeng18@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Macros should not use a trailing semicolon. Signed-off-by: Meng Yu --- Changes in v2 -Modify comments net/bluetooth/sco.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 22a110f..3bd4156 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c @@ -51,8 +51,8 @@ struct sco_conn { unsigned int mtu; }; -#define sco_conn_lock(c) spin_lock(&c->lock); -#define sco_conn_unlock(c) spin_unlock(&c->lock); +#define sco_conn_lock(c) spin_lock(&c->lock) +#define sco_conn_unlock(c) spin_unlock(&c->lock) static void sco_sock_close(struct sock *sk); static void sco_sock_kill(struct sock *sk); -- 2.8.1