Received: by 2002:a05:6358:d186:b0:cc:af7:9280 with SMTP id ka6csp18904rwb; Wed, 19 Oct 2022 16:26:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6LRmy2xUtJ8Q7AqtZA3rtewv6chNtSdkSrwGT4XgtVI8NOdm26iT5j2PoOTvK1eGyccBKT X-Received: by 2002:a17:902:6bc8:b0:179:fef9:b2fa with SMTP id m8-20020a1709026bc800b00179fef9b2famr11100964plt.96.1666221963934; Wed, 19 Oct 2022 16:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666221963; cv=none; d=google.com; s=arc-20160816; b=ZgokG10fu/yn/hxOIiFqCqHIS+ItUcGhNiKQAsNsyMRkrwOcK1mT+K0ldlNzvPQfhf mhEIHg6d2wl58LOfu2yIrQsNgTosEzVykpROuoZBzLlc0C0BU4ECXQi9kdu9Sl0Sw+Qb fd8hg0TiJvjwUDXVNsJLg2vhqNodq33L1cYVhdAomCQjeI/dQHd+mPlMjnmobEJ2ly0M z6pt3Z+rFdvsoi/jlfbiqBCUR675fXSuYqyXSPr+J60s0ZeB/TkAO7ViK5nOBZK6NSWk +sCcx7B5EpCpiTBzQvCfUggNqZlQWrnn04FzYPPh8pDyS0juN1uYbDfuOtWZ0Q5BQIK2 r6kQ== 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=yADF/SBE6T5DiTmejqUEObZWTpUu64Sa7LWyprxA4jg=; b=jgpTDrYFUmSnMeXZNydYNphil3pq68616tV/zOjKivAsjeih0fCwMQczaUGNM4y9Vx 9OuqXN77HcEqZ0VLLIo9iIABdxmNmxA3/uZYfHycgsviAbGW2tG57cLVrlCwne9DE88x tu1xZJYSlcAPX/s8LrLITQVCQWSEASNjjYg+DzMjwwPXB3T6HF59np3RN65YNDsc9lPh xPbFb6Cnag2E/1Jq+UnTC4C/zQNbvKSqKQhOxVXrvjsnD2UQgoOspMu69nGviDcEPUiR wxWxZyPyexPZqgmcZuxY3PF6ICS9rdDXX5TzWsqvVaLeQx8Yexrie5kwUPpQaBlbMgs4 kRbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=StNftmAA; 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 c10-20020a17090a674a00b00211f23d6f49si147073pjm.15.2022.10.19.16.25.34; Wed, 19 Oct 2022 16:26:03 -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=StNftmAA; 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 S230506AbiJSXK3 (ORCPT + 99 others); Wed, 19 Oct 2022 19:10:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230273AbiJSXK0 (ORCPT ); Wed, 19 Oct 2022 19:10:26 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A4FB168E45; Wed, 19 Oct 2022 16:10:23 -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 sin.source.kernel.org (Postfix) with ESMTPS id AC8A5CE24A3; Wed, 19 Oct 2022 23:10:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id E3054C433C1; Wed, 19 Oct 2022 23:10:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666221020; bh=DZTuuFU3EMXa7wsxN/PeDKX03VuVfFusIKbQRGXa9C0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=StNftmAA5ph7nUwOxlr6PcE/cGlQDbTbCEVzv2vs8fuKPsR/ss05FQNKdWJDdCZ4h rRMRaAix8LeYCpA7lXpdKD4m1In/Wq2MRa7cpGO8nIGaQfa2LJ+ozOXPi7du3WARF9 0Zud2aI2P2ACqOA8rVkaG2Ovj9VLJTNTDy1gdmDEjpUTE+svvvZuXdHtQTrX+eLvdK nSVx5T9l/lrmsamEpG6EZTgmK9umV9v2ivTc5qsR8aFVk493TEujsgjqn2FxIfpyo4 975+Io8cb6wqq0+1N4i2NlOze0cG9pH4s6AU0YeApTcGKBFi3IWRl9Up2igCMv0j2J WlqUCJrB73DCw== 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 BC768E4D007; Wed, 19 Oct 2022 23:10:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: bluetooth: Use kzalloc instead of kmalloc/memset From: patchwork-bot+bluetooth@kernel.org Message-Id: <166622101976.13398.9806993237794232819.git-patchwork-notify@kernel.org> Date: Wed, 19 Oct 2022 23:10:19 +0000 References: <20221017030421.69108-1-jiapeng.chong@linux.alibaba.com> In-Reply-To: <20221017030421.69108-1-jiapeng.chong@linux.alibaba.com> To: Jiapeng Chong Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, abaci@linux.alibaba.com X-Spam-Status: No, score=-7.4 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 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, 17 Oct 2022 11:04:21 +0800 you wrote: > Use kzalloc rather than duplicating its implementation, which makes code > simple and easy to understand. > > ./net/bluetooth/hci_conn.c:2038:6-13: WARNING: kzalloc should be used for cp, instead of kmalloc/memset. > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2406 > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > > [...] Here is the summary with links: - net: bluetooth: Use kzalloc instead of kmalloc/memset https://git.kernel.org/bluetooth/bluetooth-next/c/b0a19a2c4c53 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html