From patchwork Fri Apr 24 23:10:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tedd Ho-Jeong An X-Patchwork-Id: 197077 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAC96C54FD0 for ; Fri, 24 Apr 2020 23:10:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9EAD220736 for ; Fri, 24 Apr 2020 23:10:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726073AbgDXXKe (ORCPT ); Fri, 24 Apr 2020 19:10:34 -0400 Received: from mga03.intel.com ([134.134.136.65]:34900 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbgDXXKd (ORCPT ); Fri, 24 Apr 2020 19:10:33 -0400 IronPort-SDR: bElIDXd/vq1Pgj6ZJm9vBm/z8WDMYRTP0S3xzfticAJ4d8/pPsNknZdlgg60B60E0Fal5y8oY+ atH4n9h62zJQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2020 16:10:33 -0700 IronPort-SDR: IV4lLhoPiYVCrXgfAtbmtjYHZ3bUHNY1npTm8hcUMWLGSHLxZAhpGt9svZ/7OvIxaB0tKSzLHx teONCnNPiISA== X-IronPort-AV: E=Sophos;i="5.73,313,1583222400"; d="scan'208";a="458087387" Received: from han1-mobl3.jf.intel.com ([10.54.74.15]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2020 16:10:33 -0700 From: Tedd Ho-Jeong An To: linux-bluetooth@vger.kernel.org Cc: Tedd Ho-Jeong An Subject: [PATCH 2/3] Test patch #2: CODE_INDENT, LEADING_SPACE Date: Fri, 24 Apr 2020 16:10:25 -0700 Message-Id: <20200424231026.127164-2-tedd.an@linux.intel.com> X-Mailer: git-send-email 2.25.3 In-Reply-To: <20200424231026.127164-1-tedd.an@linux.intel.com> References: <20200424231026.127164-1-tedd.an@linux.intel.com> MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org DO NOT MERGE Test patch #2 --- tools/btpclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/btpclient.c b/tools/btpclient.c index aa8a2bae4..7248acc2a 100644 --- a/tools/btpclient.c +++ b/tools/btpclient.c @@ -62,7 +62,7 @@ struct btp_adapter { uint32_t supported_settings; uint32_t current_settings; uint32_t default_settings; - struct l_queue *devices; + struct l_queue *devices; }; struct btp_device { From patchwork Fri Apr 24 23:10:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tedd Ho-Jeong An X-Patchwork-Id: 197076 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56BFDC54FCB for ; Fri, 24 Apr 2020 23:10:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3F94E2084D for ; Fri, 24 Apr 2020 23:10:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726090AbgDXXKe (ORCPT ); Fri, 24 Apr 2020 19:10:34 -0400 Received: from mga03.intel.com ([134.134.136.65]:34900 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbgDXXKe (ORCPT ); Fri, 24 Apr 2020 19:10:34 -0400 IronPort-SDR: IOfgtwdY7saiOS1HIN1myr3n11oH7xivyzE7pMmU9YNLDtimquneyU6f0TiWjLmTZih0C3/fc0 1xqthT8CF7LQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2020 16:10:33 -0700 IronPort-SDR: VeV3MUTnnfc3LYaXDh+N+ZQFKFbBgebSRPGT/OZ7ySW0UkrD0xyl1y0Mv7msyEwCwUw/RPZ4zb ePATxhyJUFwA== X-IronPort-AV: E=Sophos;i="5.73,313,1583222400"; d="scan'208";a="458087388" Received: from han1-mobl3.jf.intel.com ([10.54.74.15]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2020 16:10:33 -0700 From: Tedd Ho-Jeong An To: linux-bluetooth@vger.kernel.org Cc: Tedd Ho-Jeong An Subject: [PATCH 3/3] Test patch #3: OPEN_BRACE Date: Fri, 24 Apr 2020 16:10:26 -0700 Message-Id: <20200424231026.127164-3-tedd.an@linux.intel.com> X-Mailer: git-send-email 2.25.3 In-Reply-To: <20200424231026.127164-1-tedd.an@linux.intel.com> References: <20200424231026.127164-1-tedd.an@linux.intel.com> MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org DO NOT MERGE Test patch #3 --- tools/btpclient.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/btpclient.c b/tools/btpclient.c index 7248acc2a..e2eff9575 100644 --- a/tools/btpclient.c +++ b/tools/btpclient.c @@ -228,7 +228,8 @@ static struct btp_device *find_device_by_path(const char *path) struct btp_device *device; for (entry = l_queue_get_entries(adapters); entry; - entry = entry->next) { + entry = entry->next) + { struct btp_adapter *adapter = entry->data; device = l_queue_find(adapter->devices, match_device_paths,