Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1856967ybg; Thu, 4 Jun 2020 22:36:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxswF3yYxHzTTFZIJgQvQw8Ji63il8pIJMWy2BUCAD1Dxc9Ck/xvvhnnz4MZrm5DA2TPHRq X-Received: by 2002:a17:906:1fcd:: with SMTP id e13mr4702109ejt.472.1591335416001; Thu, 04 Jun 2020 22:36:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591335415; cv=none; d=google.com; s=arc-20160816; b=eFBYaOhEItv5Biaz1cq2cquP5dv71TJ/W6knWQbpvOIOqYcUFP01Y+N3ACpJt/VnJz 6TWGTo4dHOsoL7jeA/qowhM67fCm9zW8+hJaCpfR8pKYWfF0t8qGaDihwk1VDdsEtG97 MpEJy1mdP3KyClD1yh1r7JkGGaMaluj8dZU3XO3eXg7mIh9UrAVEuvUwwEQkH+TVGW2i /jzZAunLydVnBAUFMSIEFIuNKeg9D6itelDW3KVDxZZMYvvovpFA/GMm0oR9SHy16Ggo qzTseeyjtvU9OcAybVgHlCISNMcvUlepcwCFt8pSDBTFgLjtESvxndiGlhJkf0YeMj7U dq9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:reply-to:subject :to:from:mime-version:date:message-id:dkim-signature; bh=YXA7BxoD2VtzJzLFvE/k4mQ1tW44EQWOEo09p/h/eps=; b=O47seliFS9E11Opcf5OPPSMzAQEsJk7dMX2tv+LK5V1YMkn+sk6YlyJUPEEe0coBJ9 mldxs3DgIhsY3pa7Q7rWli4yTEtwjq/9rv+co3SP1kJLryUh0RZ/Z24vrt0E8ZOCaoOq NGZnNQiiDqw4FX7c1A9w25FfeEiXs6JbYccZyduhB9HtcW7nb1A55YgJ2L70fs31bKJH M5aa5znzZkqb5DtS0qcMVgyAOWpwCta+cIfhjt0EuFOV0ajcY0Zq2+EYjRsPC2SgEmA7 LeaK6z47ynF/+Tb34IyT1IXD8LYJ9LZtSzagAGkrsrgMiWZXeRSBMhl5GPpBCtzyv/3A KrSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eXZdvpdh; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si2755031edm.609.2020.06.04.22.36.14; Thu, 04 Jun 2020 22:36:55 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eXZdvpdh; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726016AbgFEFgI (ORCPT + 99 others); Fri, 5 Jun 2020 01:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725280AbgFEFgI (ORCPT ); Fri, 5 Jun 2020 01:36:08 -0400 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7322BC08C5C2 for ; Thu, 4 Jun 2020 22:36:08 -0700 (PDT) Received: by mail-qv1-xf31.google.com with SMTP id cv17so4124189qvb.13 for ; Thu, 04 Jun 2020 22:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:mime-version:from:to:subject:reply-to:in-reply-to :references; bh=YXA7BxoD2VtzJzLFvE/k4mQ1tW44EQWOEo09p/h/eps=; b=eXZdvpdhRqSItX88LkduCJosR2MwYrke05VLQViuObMe1lFUbmp+peE5XSs3y4Z9N8 vmRleqTCGBLlozsV8sngXlMZ6WGVhNXp02x8c/O4Fj2ABhAU6l7Vdep76JhpOWvujE8L CD3mywTzWfMLq/yv2D7xbTFFwWIT7IkgK2P8q7ta8wZCdYF8al3xhbtaBEM95f190E1Z I7DPWf9Hrg0EG3kz7sc1xXYorb7sNMjpnNfl+ovDAMX57kOoPuImTwrmPl/QLLyZpL1t yloblrr8rulG1FskkU3V/Ip+Y/Hpo+HFsBZOmjlecDAYZsUc1WBUdJs/UMCaoi+9GWTl CkfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:mime-version:from:to:subject :reply-to:in-reply-to:references; bh=YXA7BxoD2VtzJzLFvE/k4mQ1tW44EQWOEo09p/h/eps=; b=WJmpDtmUrpQRLS20WN6Ynbx6HxXjFH7MmAuK3YXhgUyvY7WX0Xj86KV299vqZWVl+x 9jQjzJ91cvqdQH7pPn0VMwvZGvxzf4A7TQnSzolVUByiYhUjliQpdBo0iELaIpiy7wh7 gb+YR5Sdmr6Nis7Jo+wuSLqb4EahogNyzrtvKh73pT2K2YfpToPvWwUkIsyLJeyZOL6k MakKypLvhIdAsDW87362dcpSlqXS40lxgmDhM+OZIInnx+OLBdUxuFQG+Cxzbh4/w25k YxBHzdtUNoMCfUOYJWOwlWld+PkpOBsIsz2NAT/XGQu6UcJ0ZS3xDclZlDlKkHW1Rzqh bKNg== X-Gm-Message-State: AOAM533WM/SpBo22sk7209wTB09MapYr79kwg4VMeznPVeOEWn/UyRfR W2KkPajtZ5+G5AALMBDQb0mteiajl3Q= X-Received: by 2002:a0c:8e04:: with SMTP id v4mr162689qvb.213.1591335367514; Thu, 04 Jun 2020 22:36:07 -0700 (PDT) Received: from [172.17.0.2] ([52.252.59.137]) by smtp.gmail.com with ESMTPSA id v189sm6287642qkb.64.2020.06.04.22.36.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 22:36:07 -0700 (PDT) Message-ID: <5ed9d9c7.1c69fb81.a6149.34e7@mx.google.com> Date: Thu, 04 Jun 2020 22:36:07 -0700 (PDT) Content-Type: multipart/mixed; boundary="===============7806691646011392002==" MIME-Version: 1.0 From: bluez.test.bot@gmail.com To: linux-bluetooth@vger.kernel.org, tedd.an@linux.intel.com Subject: RE: [2/2] tools/btpclient: Use mgmt api for limited discovery Reply-To: linux-bluetooth@vger.kernel.org In-Reply-To: <20200605051509.10766-2-tedd.an@linux.intel.com> References: <20200605051509.10766-2-tedd.an@linux.intel.com> Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org --===============7806691646011392002== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. While we are preparing for reviewing the patches, we found the following issue/warning. Test Result: checkpatch Failed Outputs: ERROR:INITIALISED_STATIC: do not initialise statics to NULL #32: FILE: tools/btpclient.c:85: +static struct mgmt *mgmt = NULL; ERROR:SPACING: space required before the open parenthesis '(' #225: FILE: tools/btpclient.c:3294: + else if(strlen(arg) > 3 && !strncasecmp(arg, "hci", 3)) ERROR:FUNCTION_WITHOUT_ARGS: Bad function definition - void btp_mgmt_release() should probably be void btp_mgmt_release(void) #248: FILE: tools/btpclient.c:3317: +static void btp_mgmt_release() WARNING:LONG_LINE: line over 80 characters #266: FILE: tools/btpclient.c:3334: + while ((opt = getopt_long(argc, argv, "+hs:vqi:", options, NULL)) != -1) { - total: 3 errors, 1 warnings, 271 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Your patch has style problems, please review. NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPLIT_STRING NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. --- Regards, Linux Bluetooth --===============7806691646011392002==--