Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4686490rdb; Fri, 15 Sep 2023 09:15:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHhmRt+rRM1jo+kOivysEpMYnic4wVI0B7ouQVpVHSe/SvGPJNjEkDjReoDaTLX8cgNPDe0 X-Received: by 2002:a05:6358:998a:b0:142:fb18:6d8f with SMTP id j10-20020a056358998a00b00142fb186d8fmr3388589rwb.8.1694794519545; Fri, 15 Sep 2023 09:15:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694794519; cv=none; d=google.com; s=arc-20160816; b=hOdZRsTcTU9FEJY+XjH8zNoCNPDt26hrqqXk2nqriL16NejLBoZ+GJCfyoAZUgTMXz xoc2qvbNlVGlE4WFJPp0SzKzUXtU88LVWh/tO8DObriZL1E8yWbsZXoF2Km/qbLT5I73 f1lpyM7rkmvXw58Tdzidzozq0bKulh9tKFEvyr/duerDdlybCCfGi+nMP9+0fp5bylJQ sdEKX6BhaylZt7eCTDBZhx4aEk9VGZ9wTfNrIa4+zLVNj0JhsXIQvflPyRZHGJ4l8w2S ETNSpig/mcfS3+QljIXVBldE3RIwiReGiZ3hOsodOdxxjrt0DjSmRNaY7GZ3yhuEoVJQ 7aqQ== 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=5Ew2JjOUkv09bFSt8TG+8zgOew5u87S8aDn6O2wDcOo=; fh=UG0NpkCdyUUtXJbpDG0oJZk8sfHCuHMug1EM/L2xdAE=; b=dR6d2C108q0lyAL5+tZGbmKsMtGv19215lFP9X4s1dST9oqWX3lHI2OGB8uxXyHOxQ FrnfYxY2SaHzMGbWVInG3FRijNGDpp6EfaeoOONdNEqnQBjM6RVc5SR2wyTSPBJlvnWV rtkiJwZDWMZ4P9I1Pm0eJnQJoWPhyx+cGwPA474wlKwZylzad0Yi+Xi3LaEMJ1mMvfto lPlxMlJJs1IZswIl612zgCStKnpEjeHyzn7f+vnvB88JRN6R8+VmExNABxrWSaOC16un Djc7kyFhgrMrtDdhKUNjewm8fxXO73ocOgTMvlzjhQycAyCxQ7xadTy6dZbbRobSjaxP STCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r0ophIMJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id h13-20020a65638d000000b005704f061aecsi3254072pgv.279.2023.09.15.09.15.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 09:15:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r0ophIMJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7AEF683B2D6A; Fri, 15 Sep 2023 09:14:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234689AbjIOQOM (ORCPT + 99 others); Fri, 15 Sep 2023 12:14:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236243AbjIOQNo (ORCPT ); Fri, 15 Sep 2023 12:13:44 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 928A21FE5 for ; Fri, 15 Sep 2023 09:13:36 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 254FEC433C9; Fri, 15 Sep 2023 16:13:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694794416; bh=C71tN8ZIhlVIDV9QKHTbB9EmSGHavmQk0JRFq/aLG+U=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=r0ophIMJxc2q+fkdkYDTRxogvZGxJE1bpdqk6N3OYryTsGALno9ruuy5mLyIMg6DD sVv1wk+j4YqRa+q+PCFvjyvPqjpa9EcDqH4B73wn6QwRFidGJRzZGvz04yUfizK1C+ bZExmfz7YE9wCmtyyud/3FdduH1tRRd/m+reRwwCCNGpQllFv2nMP2Dv7QxcR7PA5l XrPfxm3UremLdzzcJkMxoZnvvUZoqhQCaqsLyqseJZCWppVAqCvQ9UoHdn/QU/hxgM nWbCm575/xJqYGmf0KQDeGj0S3lC4h6lrO2xxETubNyo1C1+5FU8ZyZ0aPBYruKOoE M9uHzxg0DHzhg== From: Mark Brown To: cezary.rojewski@intel.com, pierre-louis.bossart@linux.intel.com, liam.r.girdwood@linux.intel.com, peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, perex@perex.cz, tiwai@suse.com, kuninori.morimoto.gx@renesas.com, brent.lu@intel.com, amadeuszx.slawinski@linux.intel.com, Chen Ni Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org In-Reply-To: <20230915021344.3078-1-nichen@iscas.ac.cn> References: <20230915021344.3078-1-nichen@iscas.ac.cn> Subject: Re: [PATCH] ASoC: hdaudio.c: Add missing check for devm_kstrdup Message-Id: <169479441287.352295.6511877103194317709.b4-ty@kernel.org> Date: Fri, 15 Sep 2023 17:13:32 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-034f2 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 15 Sep 2023 09:14:47 -0700 (PDT) On Fri, 15 Sep 2023 02:13:44 +0000, Chen Ni wrote: > Because of the potential failure of the devm_kstrdup(), the > dl[i].codecs->name could be NULL. > Therefore, we need to check it and return -ENOMEM in order to transfer > the error. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: hdaudio.c: Add missing check for devm_kstrdup commit: c04efbfd76d23157e64e6d6147518c187ab4233a 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