Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1918006pxb; Sat, 2 Apr 2022 08:10:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFoDh5UBZ5RGgKItW0f2sYy+W16czlXESskiDKZ5oZy8KjK/cnsYR7RmHU4sSzWLkC0kJr X-Received: by 2002:a17:903:1210:b0:14f:973e:188d with SMTP id l16-20020a170903121000b0014f973e188dmr50608736plh.61.1648912258381; Sat, 02 Apr 2022 08:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648912258; cv=none; d=google.com; s=arc-20160816; b=gliRbcdyOUGs0/RqrOzSb3RBCpxLXAoxD6or+s8TD32ABwiiSgsdiJrt6Wfa4MN7Mj Fkn5JJ9Q9e4UWJv5ZrDdf/aB0byPOSWok5SV6x4uQVxyQb6k3xYVYXDq+SUuO9d29gwB gJAMtj+VDpFR0l89oN6rtLuWKW8KMQIWRXjb/VQoEjF5m977KzSnj4yb+M9jotZgB+d8 E0Zn7tyVRA23tV9IZmfHNHrpxiPxvGLQZ1GajjqhAGMRKKs+IUp9SxLQkcXLFbqfR9Pj 5J7j9dZVG6v4EyntrSBeTT0ZyOoauQd6I9KMpyU8tlt/pQuflN6gsPxj30P3YYWVQoC1 AaDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=qNLjCTNcIpP0bEMC5Ok8WENr94MtWnjIPLGwPELeutc=; b=UIZVfVmANxbxW2eyOKzh0+w24DN8QHxvZZKxUQ/4ql1iKVQSqw1KdhV+bSGW43EV5F lo7LPoJOtnZDwjUv0dG7xEqJStJvn6Ph5YbnmIiOi6K0gCtyQBuBuOKd9HmN76VShqeT p7I3q4HTmTLIo0WyhbfLhO3KoXsXv0vBteaV0mj3VV8D5Pk0jPZ9XkumUo5SLgE80cRw gdtArrullFn+4ZXMdItL1AksylWGcHDuDMWIzdbpNTufw2l7gsVa9TKMJGhIXr1DQJ5S tQrXnOEYzK2O/K2eWdCgWbH3lC6ax9UJX6c7U1qP07NmbRg9SX3pQJBBOBupJeVMw0AX 6iwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hG6CUl6B; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020a656a90000000b00393c2e58ea7si5229838pgu.852.2022.04.02.08.10.33; Sat, 02 Apr 2022 08:10:58 -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=@kernel.org header.s=k20201202 header.b=hG6CUl6B; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237030AbiDAXcE (ORCPT + 99 others); Fri, 1 Apr 2022 19:32:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235849AbiDAXcD (ORCPT ); Fri, 1 Apr 2022 19:32:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FE72109C for ; Fri, 1 Apr 2022 16:30:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EAB6761BBB for ; Fri, 1 Apr 2022 23:30:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 504E6C34110; Fri, 1 Apr 2022 23:30:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648855812; bh=kdnOMWo0NINPsx83syrqaZjbQf8vh6R+pJYshShifns=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=hG6CUl6B7duxQ5sLYD6XtTH0l0lIwkmj96IAchou3pJldp2i9H7xsUUD2F0STsJEC IuTPzOVbKCTISVQmriCaE87eBXirTBeoe0HBsm5qHpr9GlsenEJs69dsfWPbjhUeFU gWfLbe2uwX6tHa+ax1d8Rkp3oHRZSaejfUQUH7XyjDujwtTWji30T/zlB/p7WjsIKZ D6LFeZL4K45IhzQOBuLFN+cPOMsWu8YPhuijP1jRbfUQMqukrBkGFxddK5jrSwLbk9 RT9KkilzDITixV//NLB/SJNX+boK8femt0fCKV2HupFZLHXkdw2ABcpqY/Xqb8sc35 +bkwfUto6hR5w== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 346F5F0384A; Fri, 1 Apr 2022 23:30:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH BlueZ] shared/gatt-db: Fix gatt_db_attribute_get_index From: patchwork-bot+bluetooth@kernel.org Message-Id: <164885581221.24141.2977608447535591250.git-patchwork-notify@kernel.org> Date: Fri, 01 Apr 2022 23:30:12 +0000 References: <20220401213857.36738-1-luiz.dentz@gmail.com> In-Reply-To: <20220401213857.36738-1-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hello: This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz : On Fri, 1 Apr 2022 14:38:57 -0700 you wrote: > From: Luiz Augusto von Dentz > > gatt_db_attribute_get_index was calculating the index based on > attrib->handle - service->attributes[0]->handle which doesn't work when > there are gaps in between handles. > > Fixes: https://github.com/bluez/bluez/issues/326 > > [...] Here is the summary with links: - [BlueZ] shared/gatt-db: Fix gatt_db_attribute_get_index https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=234d60423c3b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html