Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4006473pxf; Mon, 22 Mar 2021 23:28:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7f2G6CkFgcbwVytksvkalI5bq1Vyf9pl/uhs+nibSUDAL1VQGPclsHDaZ18hn2R5PURQh X-Received: by 2002:a17:906:d797:: with SMTP id pj23mr3365394ejb.367.1616480891000; Mon, 22 Mar 2021 23:28:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616480890; cv=none; d=google.com; s=arc-20160816; b=XUoZN2MG7d2pa0vtLKDtJDtkgBmjcVJ08oygbrZ/R6sdSoeH8a1l3oI1HHmmfc8DxS s+9chAEWFrw9Y9LAv0r22054qp8Xv3gREZ+cZr3gGvj3I682BHcRHzt5devdFnzNgcTj isVjGd/v4rLmHfXXB344QhIbFuYD9ZQGrv080ssU0pVqMMHS4CTx99l9nBluLD+vuJtI R0gojbsJxk9bgrsBnzhNVXUtF6nYz5cBmvSpUQl+y1r/K5GfTy1vti6OE84KNkTB+4E1 vXujpmcN+NpgVG0XAO3eqgKeVqUWkvyFXTiJilcIvNxqUpavHJtX7PWuMBxrf0vKpyPe OCiQ== 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=pQNoDRc1uT/IufwlxYoOllfRkngOcOhJQdLQSgvSY04=; b=xi0vpGLJbzoauIAITUk95Cjh4arHS/JYcFRuqepz/PL5sm/D9bzLRbkoUllEOFO3x+ KRSLv4Z4rnttxxzVHPqrn3mpMR/hIOEt3lbXV3TVjC+KSazxu4TJOuP0RWuG5w1bBZ4G //EvT1vvZuIUhTtZDrJxJ2oDkr/wB076laJHqFYZJhz1+F46upAx1zF38JLYG+XVh7pX VSEdygi4zlWvhgLiAv0RvgJIyM7WzwcqVdZWzud+XouxgAdR0uHEH6GYtgJxwwA3F7Ru hunezMv9ejX5G2fxky3fSK1wXdDDdWonPrX36mNLgCUKXHxeFPMMF+2KeFKDcvvJ/BX0 MQPA== 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; 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 m22si13045698ejr.463.2021.03.22.23.27.48; Mon, 22 Mar 2021 23:28:10 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229979AbhCWG03 (ORCPT + 99 others); Tue, 23 Mar 2021 02:26:29 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:14427 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229955AbhCWGZ7 (ORCPT ); Tue, 23 Mar 2021 02:25:59 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4F4LtS1h6Mzkdgp; Tue, 23 Mar 2021 14:24:16 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Tue, 23 Mar 2021 14:25:51 +0800 From: Meng Yu To: , , CC: , Subject: [PATCH v2] Bluetooth: Remove trailing semicolon in macros Date: Tue, 23 Mar 2021 14:22:56 +0800 Message-ID: <1616480576-5249-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-kernel@vger.kernel.org remove trailing semicolon in macros and coding style fix. Signed-off-by: Meng Yu --- Changes in v2 -Re-base in bluetooth-next net/bluetooth/smp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index efc19f9..2def906 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c @@ -54,7 +54,7 @@ #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) /* Keys which are not distributed with Secure Connections */ -#define SMP_SC_NO_DIST (SMP_DIST_ENC_KEY | SMP_DIST_LINK_KEY); +#define SMP_SC_NO_DIST (SMP_DIST_ENC_KEY | SMP_DIST_LINK_KEY) #define SMP_TIMEOUT msecs_to_jiffies(30000) @@ -398,7 +398,7 @@ static int smp_e(const u8 *k, u8 *r) SMP_DBG("r %16phN", r); - memzero_explicit(&ctx, sizeof (ctx)); + memzero_explicit(&ctx, sizeof(ctx)); return err; } -- 2.8.1