Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6984955rwd; Mon, 19 Jun 2023 16:12:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4te67klGysJuW3c6dg4TBjBtQLKdoFqpjB27UMw3sYFJ+c/276Bm3pzUVF637ZHscruPDP X-Received: by 2002:a17:902:ecc7:b0:1b1:4801:f516 with SMTP id a7-20020a170902ecc700b001b14801f516mr13641748plh.68.1687216345724; Mon, 19 Jun 2023 16:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687216345; cv=none; d=google.com; s=arc-20160816; b=tN8X3mCKNO5NlsaBY6uv3zJ4AY3YVe2yphLRQVGRboIp/Oldv5wnEIWI8yXKD/JRbW I1P+Ccd0SxU0HFIfiKZVJK+jf4r8kSRfu4HOI10ZGgoD6O8yB/xKp1kd94ghv12fWeM/ 2f3ygc40MVBfHpS8beVL42Zh+2ByGk9r9U3GxU9I04CfXBOBRneclZyJ2csHVvHe2mmt WN+f/4ML3wwfMXK6tWQk3lqYSPJWt+BDX2F3byiRo3XaF7VL3fS/ghMk9J0ZgyxxDL5+ UHoe5GxxIN2mGCcaaHzOni742nMzwIzGu6mhkxOdszqbcawLwqHAnXcVvI8be6XrJ5eG S+0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=y6ujT8yOZg71K1dxRX6mjTlyJ1tbBq5vvZX1pHcfDs0=; b=wQuygVT11QDyy2JkXy/F4NYDR6jsCpnariRG209yj/HR8Q5U1aEfvoipkEwPc9RCyR vCh3kgy5KM+WP0e9fABheyknKnGpAvUEQrWAEPBSK0uDTOaGbfav27B3Ip9kgwEyxBU5 fugl56iolowtH6PCgnxrdaUEvn+FYFDQyzaUUC/h4HSi/V1o640oyzIrOsPewS2LchdE SXjeYPoW9Izk7Zc+I0h8ICyf6OpxSY4LaBMwSX4rWeg8i1Vth0foiwaYVS44bbX4ZqRH 4WAl8JiuICweA+w37NYkGPmdNA9zYqMiIJDAqd0qx1ac5AfyaTe+o6uIXGbv9RV6XVEk 6blg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CnNz6mVM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 b14-20020a170902d50e00b001b016313b20si687790plg.345.2023.06.19.16.12.13; Mon, 19 Jun 2023 16:12:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=CnNz6mVM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229829AbjFSW3L (ORCPT + 99 others); Mon, 19 Jun 2023 18:29:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjFSW3J (ORCPT ); Mon, 19 Jun 2023 18:29:09 -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 D28EC118 for ; Mon, 19 Jun 2023 15:29:08 -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 6828B60E84 for ; Mon, 19 Jun 2023 22:29:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1966C433CA; Mon, 19 Jun 2023 22:29:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687213747; bh=H00mx55kuat8LHbKg+m1U0otLiA7SnikJsD1uUzjQeY=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=CnNz6mVMqm4dIS1eU4ZFW/Lj1epriJPXJzQgcjhAjLLMY9STCAfSL2aqOaZvdbz+4 /EYge/j6NomUrA4i70IZ3UcNrsmnHGxVjphVmbuPuetKDtvOMH+EAxZe1qLnyLQKaF ejhq1yZlIkrzlhQpTTe/1yKx16x7sU2u/V86iEfJwRrjbakt8DgNv34i/54d8zl7CD us4GXsjsS5MBCZ2NyiScvuUqGApy1tpElSo+G8kEyYXiBCsGSsCuds20Ibh2okARkK Cte2Q/qilfGHyZCuxah7WRHpRKaBoGLxllOfZnh7ty40pDK4RjeYhtnngeXv0QXPvJ 5pEUfGFaNVWpA== From: Mark Brown To: shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, viorel.suman@nxp.com, Claudiu Beznea Cc: alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20230614121509.443926-1-claudiu.beznea@microchip.com> References: <20230614121509.443926-1-claudiu.beznea@microchip.com> Subject: Re: [PATCH] ASoC: imx-audmix: check return value of devm_kasprintf() Message-Id: <168721374438.200161.9016810536762850752.b4-ty@kernel.org> Date: Mon, 19 Jun 2023 23:29:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-c6835 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 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-kernel@vger.kernel.org On Wed, 14 Jun 2023 15:15:09 +0300, Claudiu Beznea wrote: > devm_kasprintf() returns a pointer to dynamically allocated memory. > Pointer could be NULL in case allocation fails. Check pointer validity. > Identified with coccinelle (kmerr.cocci script). > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: imx-audmix: check return value of devm_kasprintf() commit: 2f76e1d6ca524a888d29aafe29f2ad2003857971 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark