Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2786209rwr; Fri, 21 Apr 2023 14:12:31 -0700 (PDT) X-Google-Smtp-Source: AKy350aNTmnF8+f+q3sbr8Rs9pbNpcxL14sOZZNLsCFm5wppgmwHLcZ22+E0GqMViR+BQeaJw6l7 X-Received: by 2002:a17:902:c40d:b0:1a8:4506:a36f with SMTP id k13-20020a170902c40d00b001a84506a36fmr13754845plk.25.1682111550816; Fri, 21 Apr 2023 14:12:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682111550; cv=none; d=google.com; s=arc-20160816; b=doxKYQfxF67Eu7eJJPy4WWmH5Dexcwt8Efj5RRG/Q1w2Yrwt53AgFa3dfyRm8jTzT2 tnFFvtzUS/5MILOertFyPixjPxtOt4fnfLP33jjtOQ9aeuDa6ZmGcKF8FIfbJroSYclB pfFgk7E01WkDigZBd/V0aRvrUp5G2Sa89zhLqsyFXRWevUH3tm0fTwOd3asYhi8bR+zu Y33PyYCKqpJkBKLQA8ZgAIEoES3N7JsZGJJyEan1aSbuuaIUcHO1p4RckGYr5UHzhCc8 iB/KODOZ6kP7RdD0ShDvZGSVedUFCrkqLaMW3nZL5cgonJ8Re+5n87BCKDUyvfdjh9gJ bpiA== 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=RjjWtPgpzksl6Tc0192R46eQlR6EZS9RnBdRc0drtA0=; b=1FCeJmtdEDoKFnxeVyTKcD7ZbwBpyVhFTVYm59pCkLHciS9KogFOOa5g+hSNFZHvkT /hA+KTvXpUI3REUEiWt29ZcLbuflpIIXmCwVl0fN34D4UCSiREPZW6rB0DctFJiFSf29 Zvzz12FqbfUE5ADTynDJwITGyEaSOniCuImVi5/51HEIOq21OfZW18Vqbm6L+Ca/7LrI cjI+K08rre09xxCOja//7B8Zey580fjYT7Vqz3ZjEu3brYR0dTmD1ocMXsqWejW1jBSB us/Bfc/LWQeCviur8KEu3w5VpDkerci5DO3bq2LJIqU4f5Hgcs0HAvw3QY8TS1mQxyFq Mt4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D7WlGdns; 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 ky14-20020a170902f98e00b0019fe6800ed2si4809823plb.428.2023.04.21.14.12.08; Fri, 21 Apr 2023 14:12:30 -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=D7WlGdns; 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 S233533AbjDUVKc (ORCPT + 99 others); Fri, 21 Apr 2023 17:10:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232017AbjDUVKb (ORCPT ); Fri, 21 Apr 2023 17:10:31 -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 65D59131 for ; Fri, 21 Apr 2023 14:10:21 -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 10C6D652D9 for ; Fri, 21 Apr 2023 21:10:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 72701C4339B; Fri, 21 Apr 2023 21:10:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682111420; bh=YRISEmtuXgOwk3qSPxUncvN+P71+1hIJhKkV/zP03Gk=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=D7WlGdnsOWTGcG5XQlI1aIqDG+ApTSgoIbf+lHYfyKdOTHezUnSaZcCG8+gFYg0OZ ytk0YqsrjMehV7FnssqHZa3gGAZhxMGgdWFfXfTFC3SfI6QO1+u7rJG7cWsaczv4Ra nFI0Hh00cmrVTIOgIPwyAwkk5VkH6tCPdkPtlyhbNQkH4u0/69lPTgke4xf69rnMh8 Isw2uyEwRi7n2mwVEw2aMWG4L974Dgf50CT6COyLbcfWNlrDYSZtsc7xatBW8kxR2O XgrzoP2ra2MtsELLGYcqnB6ewYn+v04xJR4Oc2bK4278q8Pdqyeb69QETkI+lejxT4 yKPNfzgcKp4tg== 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 57C6DE270DB; Fri, 21 Apr 2023 21:10:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH Bluez] obexd: agent: Use if-elseif instead of multi-if to check error message From: patchwork-bot+bluetooth@kernel.org Message-Id: <168211142035.13991.9127348864681209548.git-patchwork-notify@kernel.org> Date: Fri, 21 Apr 2023 21:10:20 +0000 References: <20230421024731.42130-1-aarongt.shen@gmail.com> In-Reply-To: <20230421024731.42130-1-aarongt.shen@gmail.com> To: Guiting Shen Cc: linux-bluetooth@vger.kernel.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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, 21 Apr 2023 10:47:31 +0800 you wrote: > The obex agent will return only one error message at the same time.So > we should use if-elseif instead of multi-if to check error message which > maybe DEBUG_ERROR_NO_REPLY or OBEX_ERROR_REJECT in agent_reply(). > --- > obexd/src/manager.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Here is the summary with links: - [Bluez] obexd: agent: Use if-elseif instead of multi-if to check error message https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=9a0acc7984ef You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html