From patchwork Fri Apr 24 23:10:24 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: 11509573 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F3D561575 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 E5A8F20736 for ; Fri, 24 Apr 2020 23:10:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726087AbgDXXKe (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 S1726062AbgDXXKe (ORCPT ); Fri, 24 Apr 2020 19:10:34 -0400 IronPort-SDR: MDjOngC4nZPdjrz5PJxmTjvk/Joqx3Iy9n/BcIuj7woKqAIO5NI1PU3c8W7hsq5oMPwGIXS/sH 7D9QxLkyACDg== 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: esxjEnu28JKE7h9DOPR9Fgw8zeZQI9oyFowdaTfsxTXqYmxiOI+kOVAnigu8MdgH5XTAosJGEg 36yZyWzlEnnQ== X-IronPort-AV: E=Sophos;i="5.73,313,1583222400"; d="scan'208";a="458087386" 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:32 -0700 From: Tedd Ho-Jeong An To: linux-bluetooth@vger.kernel.org Cc: Tedd Ho-Jeong An Subject: [PATCH 1/3] Test patch #1: LONG_LINE_COMMENT Date: Fri, 24 Apr 2020 16:10:24 -0700 Message-Id: <20200424231026.127164-1-tedd.an@linux.intel.com> X-Mailer: git-send-email 2.25.3 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 #1 --- tools/btpclient.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/btpclient.c b/tools/btpclient.c index f9c693056..aa8a2bae4 100644 --- a/tools/btpclient.c +++ b/tools/btpclient.c @@ -3160,6 +3160,8 @@ int main(int argc, char *argv[]) l_log_set_stderr(); + /* This is a test comment to test checkpatch.pl for long line over 80 column line */ + while ((opt = getopt_long(argc, argv, "+hs:vq", options, NULL)) != -1) { switch (opt) { case 's': 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: 11509571 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B04B9912 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 A0CE020776 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: 11509575 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4DB1A14DD 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 3F74920736 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,