Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp187467rwn; Fri, 16 Sep 2022 18:07:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6XiFJDaP+ZEMLM745wdktxXMwmd91DiMlfvaKlUuvpIzisrdPHq37A1wVRLH9Otxn3O2T8 X-Received: by 2002:a17:906:9752:b0:780:5b5f:3573 with SMTP id o18-20020a170906975200b007805b5f3573mr5012761ejy.497.1663376876951; Fri, 16 Sep 2022 18:07:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663376876; cv=none; d=google.com; s=arc-20160816; b=P+nYt48+VtqsfUy6J7v/Toxo6viETcPJh1iSfVFi1wa2rngcAg8y//8F5zbECQShZy axg0Ei/VoWVhQ6sQ0jWNJ6t+FDTdVAFF2Dv93jaZvMSUbQzRVMelRQAZWQGlWiliL/vI 6cJTbvjCI227nqyM8726vrbNfnOOQbO3kDOn7iVkBNMW1zca0bKDUfbYEaP180za1MBO ThlQNTWQJH3dhdQkPHg2JCzV0cxFggCiUd5SAumtROYDcA8ZpFd/Q3qoKL0TQzEVrM0Y guJ+Z4ctFeE90AAJyJXMFJjnyCPcHjzk2AYvEkHCUnKNxDg/zg3YoR5ovo7w5qtE423s EaXQ== 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=oCDKLRmAm24Hcv8Ekb/CCZaMbZ4p03Z2CZ9HkCmJQg0=; b=FFWT7rcr5GHFDsw62H6EOrfost5o6m2DAVKAH/f/TYwP09VkfFUfoGPTmzOGrJcXi9 Kgy5FYousv23Nlel0PcLPPRWUyJp6fmPDsKVJN9IXTV7ffU9T6ujqr3I0pUQGtzzxZSy ukyjPGTS8mK6Z4Q664klvmiKrK+00ehvEKpF48RRMFzXi8jarRUT4yPiuin6V+cPlmDU R5No1922k7KbDAoF/FvwyZ1pkMhFlbm4MBPvgHZma/mDm9kuGDDhnBAJKPFPGoa1oCP0 M+o4PGjDZxh4A3okS3eDApOfTuHoaUohnjxGPM4hX1SnGzejkmdrURyxQ6shJ0VBBWCk A6Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=i4yTSeNd; 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 i18-20020a05640242d200b00450cd1eb7e2si4298423edc.22.2022.09.16.18.06.51; Fri, 16 Sep 2022 18:07:56 -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=i4yTSeNd; 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 S229505AbiIQAb3 (ORCPT + 99 others); Fri, 16 Sep 2022 20:31:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229578AbiIQAb2 (ORCPT ); Fri, 16 Sep 2022 20:31:28 -0400 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7656EBCCCF for ; Fri, 16 Sep 2022 17:31:27 -0700 (PDT) Received: by mail-qt1-x82d.google.com with SMTP id j10so14360491qtv.4 for ; Fri, 16 Sep 2022 17:31:27 -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:subject:date; bh=oCDKLRmAm24Hcv8Ekb/CCZaMbZ4p03Z2CZ9HkCmJQg0=; b=i4yTSeNdvfzxnqCiOnTrmfmW6McIvvoPWmawLVAVq8OY96rq3qF30vxx9nJrdaeIhN lNXDWUaLznXYVHqVWr7UG+LkiMaPbEuufxe3DSTVXehFbEt/xPU3drh3hhSFFVfCfZwE 1Uum5w/jHv5Um3mV7Wka7eJg4jq1rzM9AaLI5S6K212y2ymr6EgMTeJy5mtkk6FSS2Ng tVK4IYwLJfTQ5JGP3eWcDIL9axL3ZBbDChmDKdAazxYu5QzLBnpn4gF1GLONI/i/GXvW fP7oCPgBrzM5b/HxNO8z1HLdt3oimmnechh/vyBjp+OT0FNSaPj0nHD+Z6b0ASNfd34j 6iGQ== 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:subject:date; bh=oCDKLRmAm24Hcv8Ekb/CCZaMbZ4p03Z2CZ9HkCmJQg0=; b=U/65Ohp2nkoAJ7YMqTOdNagpVaeB28ocr6ERdm3pZPilXeHD/WJhYPIZEfH1PIEvnA 1aZ/gWr9i4uZBlIWYV7O18wEJ4dkVnZS9iMbhYmW2UKF9xUEIpbA8pLN/ElF2EqfboMW ME3jpwToBiCYth3plEONPb3S3UXMdfKeC/MaunkWYMpIUmjSUaIZ5xlijKGNUoIbe5qM MxJGLKqefTYOJiquOHmBT7LvMh/QNd2b2+eAuqYOmZlspqOUPqXFnWe+ZOdcb+FGO7X2 7VzWplcJ16ZJAKI2QcMisMqSfqJtW3RAMIrKn39Hlm0UmEvQzycrsw7xeim/0hZdsomz pL2g== X-Gm-Message-State: ACrzQf14PQ+IvilyggsnNG3mpYbeO2tPUlWX5GUz0aPIvZEW4QDgiVWB yvgVX5hzq1p7dSqd6pcyP4X6fNftUGS0Gg== X-Received: by 2002:a05:622a:1a21:b0:35c:4a24:e9ba with SMTP id f33-20020a05622a1a2100b0035c4a24e9bamr6874020qtb.622.1663374686380; Fri, 16 Sep 2022 17:31:26 -0700 (PDT) Received: from [172.17.0.2] ([20.163.195.133]) by smtp.gmail.com with ESMTPSA id r4-20020ae9d604000000b006bb29d932e1sm7369543qkk.105.2022.09.16.17.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 17:31:25 -0700 (PDT) Message-ID: <6325155d.e90a0220.6ff3f.8644@mx.google.com> Date: Fri, 16 Sep 2022 17:31:25 -0700 (PDT) Content-Type: multipart/mixed; boundary="===============0123471604146190076==" MIME-Version: 1.0 From: bluez.test.bot@gmail.com To: linux-bluetooth@vger.kernel.org, luiz.dentz@gmail.com Subject: RE: [BlueZ] shared/gatt-client: Make use of gatt_db_attribute_get_ccc Reply-To: linux-bluetooth@vger.kernel.org In-Reply-To: <20220916234604.1156551-1-luiz.dentz@gmail.com> References: <20220916234604.1156551-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 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 --===============0123471604146190076== 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=677779 ---Test result--- Test Summary: CheckPatch PASS 1.43 seconds GitLint PASS 1.02 seconds Prep - Setup ELL PASS 27.08 seconds Build - Prep PASS 0.94 seconds Build - Configure PASS 8.81 seconds Build - Make PASS 984.61 seconds Make Check PASS 11.55 seconds Make Check w/Valgrind PASS 292.56 seconds Make Distcheck PASS 242.54 seconds Build w/ext ELL - Configure PASS 8.75 seconds Build w/ext ELL - Make PASS 85.00 seconds Incremental Build w/ patches PASS 0.00 seconds Scan Build WARNING 553.94 seconds Details ############################## 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. ***************************************************************************** src/shared/gatt-client.c:387:21: warning: Use of memory after it is freed gatt_db_unregister(op->client->db, op->db_id); ^~~~~~~~~~ src/shared/gatt-client.c:600:2: warning: Use of memory after it is freed discovery_op_complete(op, false, att_ecode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/shared/gatt-client.c:900:2: warning: Use of memory after it is freed discovery_op_complete(op, success, att_ecode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/shared/gatt-client.c:1009:2: warning: Use of memory after it is freed discovery_op_complete(op, success, att_ecode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/shared/gatt-client.c:1185:2: warning: Use of memory after it is freed discovery_op_complete(op, success, att_ecode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/shared/gatt-client.c:1250:2: warning: Use of memory after it is freed discovery_op_complete(op, success, att_ecode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/shared/gatt-client.c:1521:6: warning: Use of memory after it is freed if (read_db_hash(op)) { ^~~~~~~~~~~~~~~~ src/shared/gatt-client.c:1526:2: warning: Use of memory after it is freed discover_all(op); ^~~~~~~~~~~~~~~~ src/shared/gatt-client.c:2028:6: warning: Use of memory after it is freed if (read_db_hash(op)) { ^~~~~~~~~~~~~~~~ src/shared/gatt-client.c:2036:8: warning: Use of memory after it is freed discovery_op_ref(op), ^~~~~~~~~~~~~~~~~~~~ src/shared/gatt-client.c:3119:2: warning: Use of memory after it is freed complete_write_long_op(req, success, 0, false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/shared/gatt-client.c:3141:2: warning: Use of memory after it is freed request_unref(req); ^~~~~~~~~~~~~~~~~~ 12 warnings generated. --- Regards, Linux Bluetooth --===============0123471604146190076==--