Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3603787rwe; Mon, 29 Aug 2022 15:40:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR6WXq2nF0A8G2vBMBqKWZheHI5rDVfT/DhJgen2bifUmHpoMartWTSfAdbzB3/cPGlztyYi X-Received: by 2002:a05:6402:280f:b0:448:7e66:b7b2 with SMTP id h15-20020a056402280f00b004487e66b7b2mr4855880ede.90.1661812849059; Mon, 29 Aug 2022 15:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661812849; cv=none; d=google.com; s=arc-20160816; b=Oicc1OCRDVB9IEn5oEy8fWekdvIRIbHgRXy3YnxL+80ohs1Ywb9QBEY4uDQlYwOcpl XyUulP9RED5F5fRSIO83NF1XdR833MeSzCrMvrP7HI6sjrmBp4+Y8j6kExH2lFVsUrRV lRy4TfEbNtM6DoRInrwCLT+Uybrt6HJtFqjqooReYZjbDjd238K+Xd1mhIF2p7LtvDj6 Z473GwhCSQoOafqzPXVqxxa4S/PM2Ye6qvKkuiaM1POtZGTt5627sKkgg7nC15Sd3xiN DLLlE0tychqj5cvaj/bxJ0PW9P62TBBmxEqjBc3lnWjWoRJjN995MikyENG31LHStZSl VmYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:reply-to:subject:to:from :mime-version:date:message-id:dkim-signature; bh=025FWm/Lhu7iabC9EfbOsTVReX4WjqKIYoPyUOhMHcw=; b=nvHO0E/yQ64rlQXKy1bj00aYR3k2RpydcZDQAl3D0mfzD0EYSAzb4N14oA0OBp4HMF 9vTUrqLIznPB3FqvKUTTB3IMOlDT8AhpXZtU6jC4Wfgm2yyXPfpm2gYvbSE7auRLB4g6 OfuEEYEwLhqy+ammAxLlJdfef/t5/E3tLKLbMCyBQ5da/aD0uebMCBTYa1vFJwVEjeTX xIf0GcOKcPMHwbNBiVlvr8TiAZvqC77pGpxnjNt3ONNITSw7qLpq7/P/d/U/BeV5U/8+ B8TNkzfN4qw+e6mXjhZXSzyFD67NWz8JDp+Mt1tlXJ17hmPiLDEcnsPC0y/NvSa5zNeg 0hbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mKvuD0jq; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tz14-20020a170907c78e00b0073ddd0732c8si923028ejc.867.2022.08.29.15.40.10; Mon, 29 Aug 2022 15:40:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mKvuD0jq; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229446AbiH2Way (ORCPT + 99 others); Mon, 29 Aug 2022 18:30:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbiH2Wax (ORCPT ); Mon, 29 Aug 2022 18:30:53 -0400 Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com [IPv6:2001:4860:4864:20::2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 234D565579 for ; Mon, 29 Aug 2022 15:30:50 -0700 (PDT) Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-11f0fa892aeso4413289fac.7 for ; Mon, 29 Aug 2022 15:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:reply-to:subject:to:from:mime-version:date :message-id:from:to:cc; bh=025FWm/Lhu7iabC9EfbOsTVReX4WjqKIYoPyUOhMHcw=; b=mKvuD0jqqjUV4Mh4ym/+Fuj6wMj4JW/Ijd/s84xeukK8f54LOi1aaqOYPntldGgqEO Nkxmnx6CJjarGuxHJeuaqLzg9lLVvF5a0hBexjIhuBClEA+7Y38z7Ol+5G+FguXBvlqF GNzQMbzQGLaw5P0uXv9FXn8mXgKPO+3z/XRv0HwedfTtejpDKtDYK1EfupGMUZ4NRuEj YfnLN6L8F3GrpmDI2Frlr3S+Chu0Sh3S9yNeZn/7UpQT0haQ5x89scof8bl33lt2ygPn R4nFlfGVz+j9bVbU8qcQvpayC64I6tLaO4YGLAiFAgZ/XGFEWwdjcmkduNBsv5Mrh1zX kAtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:reply-to:subject:to:from:mime-version:date :message-id:x-gm-message-state:from:to:cc; bh=025FWm/Lhu7iabC9EfbOsTVReX4WjqKIYoPyUOhMHcw=; b=8ErACyawG1+tgQV1CC32pUJZIb5VCSbgJ2fC/PGWHVQiWTeizrjbLrttFkSIUDDRXT b7cCDZbUBQki6Veml8OpFZQyURlNPXqaQXuHgYwOrjBI3DKjDjvTgL1qR9vAgnDSfgcl 5Fd7LnkO+j4yTqfxSte2s34JBHbLL+kC7F1fgErhJG/F8yy+SrHHS2DREXPuSAO8/71E ksEI5ks1d8PiEYrH6Niiqw+ZERGl5TyUvoXhYjmFWY58UoeT345nxkGtNlkhks69YNKl B0w8pW7dG3+k8tjuPZkvhc35basMPbfHLlWn6AnTCIK81s+CzXEPZ1qrkPbZZlRT92FE sLCA== X-Gm-Message-State: ACgBeo2eq1IFSwSEMm1s2xGonqJxWqVUTH196YIVzac78banYgDqeVGs bFivr1sj8QVV4AqXxs5698M42i4dsWI= X-Received: by 2002:a05:6808:1304:b0:345:52b3:4b42 with SMTP id y4-20020a056808130400b0034552b34b42mr8350145oiv.145.1661812248936; Mon, 29 Aug 2022 15:30:48 -0700 (PDT) Received: from [172.17.0.2] ([23.102.155.61]) by smtp.gmail.com with ESMTPSA id d12-20020a05680813cc00b003448fac8b00sm5489706oiw.29.2022.08.29.15.30.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 15:30:48 -0700 (PDT) Message-ID: <630d3e18.050a0220.70648.ec30@mx.google.com> Date: Mon, 29 Aug 2022 15:30:48 -0700 (PDT) Content-Type: multipart/mixed; boundary="===============7196335430059527182==" MIME-Version: 1.0 From: bluez.test.bot@gmail.com To: linux-bluetooth@vger.kernel.org, luiz.dentz@gmail.com Subject: RE: [BlueZ,1/2] shell: Set empty argument if optarg is NULL Reply-To: linux-bluetooth@vger.kernel.org In-Reply-To: <20220829213738.779598-1-luiz.dentz@gmail.com> References: <20220829213738.779598-1-luiz.dentz@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org --===============7196335430059527182== 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. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=672191 ---Test result--- Test Summary: CheckPatch FAIL 2.26 seconds GitLint PASS 1.52 seconds Prep - Setup ELL PASS 32.33 seconds Build - Prep PASS 0.79 seconds Build - Configure PASS 10.36 seconds Build - Make PASS 958.09 seconds Make Check PASS 13.15 seconds Make Check w/Valgrind PASS 348.11 seconds Make Distcheck PASS 292.00 seconds Build w/ext ELL - Configure PASS 10.67 seconds Build w/ext ELL - Make PASS 100.25 seconds Incremental Build w/ patches PASS 237.25 seconds Scan Build WARNING 643.54 seconds Details ############################## Test: CheckPatch - FAIL Desc: Run checkpatch.pl script with rule in .checkpatch.conf Output: [BlueZ,2/2] client: Add -e/--endpoint option to auto register endpoints WARNING:LINE_SPACING: Missing a blank line after declarations #216: FILE: client/player.c:625: + GDBusProxy *proxy = l->data; + print_player(proxy, NULL); /github/workspace/src/12958474.patch total: 0 errors, 1 warnings, 185 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. /github/workspace/src/12958474.patch has style problems, please review. NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. ############################## Test: Scan Build - WARNING Desc: Run Scan Build with patches Output: ***************************************************************************** The bugs reported by the scan-build may or may not be caused by your patches. Please check the list and fix the bugs if they are caused by your patch. ***************************************************************************** client/player.c:1758:25: warning: Dereference of null pointer iov_append(&cfg->caps, preset->data.iov_base, preset->data.iov_len); ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated. src/shared/shell.c:1135:19: warning: Null pointer passed to 1st parameter expecting 'nonnull' data.timeout = atoi(optarg); ^~~~~~~~~~~~ src/shared/shell.c:1155:13: warning: Access to field 'options' results in a dereference of a null pointer (loaded from variable 'opt') if (c != opt->options[index - offset].val) { ^~~~~~~~~~~~ 2 warnings generated. --- Regards, Linux Bluetooth --===============7196335430059527182==--