Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3559158rwb; Mon, 7 Aug 2023 16:03:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkJ3faT9fx7KjuYbQxK6CRmLCJtnK1h26dNckNq65S5twxarnNSVL/9RMFTnV2ZajiBBxu X-Received: by 2002:a05:6e02:1a6d:b0:345:d583:5c64 with SMTP id w13-20020a056e021a6d00b00345d5835c64mr16029420ilv.24.1691449403600; Mon, 07 Aug 2023 16:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691449403; cv=none; d=google.com; s=arc-20160816; b=ewNOdFprm5uT/mw0KoGaGMnqV8icv1Gy/EN8wM3/O4nMz5b6UPWCVfG9J6fm/0RDmg APF41p3fveKAMNdqBGxnDQDWuz8KIkMuOfFx4rX+J2YUb4hfLdC6upqyNIcfmuRKNleN YhxTlvgrChhEDjHBsdjf0yzloZwwNuCkawuLswhN03wp0L9d5EoXuIJ/XHp1Dee7fAnb m/+L2JIlFZG/aR0ocVkb2mPygrkpA67+zUSvpbWzOgmAjhy1kFC5s+IUwkZ29/oooX4N DTTmBHnL7tcMSHeKF8rfPXKZiBmJ259aQHb3TSJz7tRHHVxYkAyG5hvMxuzFUQjs7fbF Ij4A== 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=XzWMoG449lr3evY2EyT3KojfWgcNCiJWJifcTXdCEXM=; fh=LWcTBFuMKaqgS//IRhJnDed+/UO8cC4FQbyEIMiKdi0=; b=MbReUQ00EM+z2QyJ1nHpcbPn7Ficm5CB+iX3if4wlWRLNuRazjQrgUjTS6NfEflvF4 OOT3jflBT/x/343KYGodL1XkxVSeAVqjFnTXAjtzF3UxjB43FBHuYTssDS0imIBe/zXi bh03aBXOIJS3brMnR4JZZR18U/cc/2+Zu4667DpFuqqKPL71gBK/boTlaLzvlF2KN0eg dM2R/hLPNGhOKk+3/MfVFMwdJnoEg2fAO0PQE7BhpET4bvlLO1zPR0fx+AC0bs2JbulD LwW+eh54uCtxXXtuI6yx4NhS4BOfeeAQcapG9IbeTbhV6TgqmDOAKWWBBhdLOWlmgVfB rDxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J9LivOui; 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 d5-20020a655885000000b0056471d1b073si6326326pgu.546.2023.08.07.16.03.10; Mon, 07 Aug 2023 16:03:23 -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=J9LivOui; 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 S229533AbjHGWu0 (ORCPT + 99 others); Mon, 7 Aug 2023 18:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229700AbjHGWuY (ORCPT ); Mon, 7 Aug 2023 18:50:24 -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 57245100 for ; Mon, 7 Aug 2023 15:50:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CBF51622E3 for ; Mon, 7 Aug 2023 22:50:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 33584C433C9; Mon, 7 Aug 2023 22:50:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691448622; bh=3PWEuDlgmHIee2Bqas5J/TeWLZQEcwRGoFm8OO9bWLY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=J9LivOuiCrlPB4WPmMJ08WT666SM6DvlKd9tP244qDFlPI3aWJMVpbwg8UA0XcCau 3mHjfjrwNcEhp5ft4yf5+d6/r2iZG58lfSCHJo7EgO0vrNb4hIj8n99Ylq+sTRPt3x 3w5Fh5QPIwbddZr1o17Iy6brmh9UdDLHf1n6oAaWBq726QUsdkwE8zKWzJJf26cTaR 8zUzZElFBYM+ELGhAnNermHEA/JkkOrW6OYtIg6ASxQlujDCGYm0jNOwgmvsu8Kdj2 ZRgrqo/RfJv0t2O1cpqwEcZl1DNHoLN3ifSEmJcz4s8Mvd+JJZcGTnDLTVaNPIGbEm LC5NIyxte+2Aw== 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 18965C73FE9; Mon, 7 Aug 2023 22:50:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: Remove unnecessary NULL check before vfree() From: patchwork-bot+bluetooth@kernel.org Message-Id: <169144862209.1999.1134689356839449627.git-patchwork-notify@kernel.org> Date: Mon, 07 Aug 2023 22:50:22 +0000 References: <20230807023206.2128846-1-william.xuanziyang@huawei.com> In-Reply-To: <20230807023206.2128846-1-william.xuanziyang@huawei.com> To: Ziyang Xuan Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, 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 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/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Mon, 7 Aug 2023 10:32:06 +0800 you wrote: > Get a coccinelle warning as follows: > net/bluetooth/coredump.c:104:2-7: WARNING: NULL check before some freeing functions is not needed. > > Remove the unnecessary NULL check. > > Signed-off-by: Ziyang Xuan > > [...] Here is the summary with links: - Bluetooth: Remove unnecessary NULL check before vfree() https://git.kernel.org/bluetooth/bluetooth-next/c/1ec3506d79fd You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html