From patchwork Wed Oct 24 10:32:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 149488 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp405537ljp; Wed, 24 Oct 2018 03:32:32 -0700 (PDT) X-Google-Smtp-Source: AJdET5cvgvnZcmeHEsDoX/bmIkOn3ZXuYcQJYhTcs5bbJ6QySQaMa5j+KdY39HUf3db5FeigCpiG X-Received: by 2002:adf:9563:: with SMTP id 90-v6mr2358617wrs.60.1540377152062; Wed, 24 Oct 2018 03:32:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540377152; cv=none; d=google.com; s=arc-20160816; b=dPr+xZRGJsGy1kppabc6ToAQbA4ynQ8kPq9jNodnXJRUsZ+Ux3r2Wo/Pmns32Jb5w5 G9Rl6AmRBRhYtAiWuv7IqINUiNSmLaOV069gprb7bVdrdo4GiZ48Z1pMFHofQKoIHlWS fdvHaOEQLPkJQkxTDDjvw1JrwFZSAa3rAB9AW752I7fVsfQ7iB5skItm/Vm8fS+6ashJ w7GUVsALVspz8nzToLegAjUVGnSm2HwRXuiklKZ4RaKm2h68sjBRar/aGMutwDYi/iJt MRWxbg9TQs90SU1K3vZs0pejV7lFS1kQJtVMVZG3ZRjW6ZpmtYgrEeI+C48pG/uQ98fc AILw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to; bh=ZkPkecobEU1OJPqN6vigaU3lX2yXNFNoB9kD29TubsA=; b=n/apYz3//WKAvWHhiLbS0M9yLuyP490shGOmo6DiwY1CyCDg/Ib2E+HnCefY7TaOaq KtKVRO3ejwaeW6PLoK+0Kan5CtNC+u5Val4fK6DHFsJwdJoge29/xvSa2uVkD4ZEjRcl IuZUEYd35C+nSXklawcnwWLWThdmcp14YpAHFUS1dU2u7tDV+aFKPpW2vxzDCn28Uuwd HgrdtNW0p4VCeZ4pXuzotImMob8jRwolpiWq6/ycq9A/r5SHAYyUMD6T6ng2WW18Z95K Q3ldSWDCPwSNOab1nU3NPY/G7h+5OIOq6zR2kJohJRL4UqlW5k2ToO4RCPBAzKxJidfR olQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=lCd9ZjBW; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id y7-v6si3281544wmi.45.2018.10.24.03.32.31; Wed, 24 Oct 2018 03:32:32 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=lCd9ZjBW; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id F3BB3267901; Wed, 24 Oct 2018 12:32:29 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id BB2D82679C9; Wed, 24 Oct 2018 12:32:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 6B6042675BB for ; Wed, 24 Oct 2018 12:32:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=M8DfOKj6WdEKVeYQGwxNsIsI/+9SQA2JVzdlDFS2GF8=; b=lCd9ZjBWyNIB c2xYj5T317zrVXghE7iEDBkIf0nNy2tN7d63MT2tGgkC6T3XutgPQvpNtxEGPx7wyEJ3YF2Un2/mc wY/6LAMcBt4FXnu1U2OtmHcOUfpvfkata1l9H/4liychShI3YhoALIYjjASmZcDyTKYTOADppbPSn Fw/kI=; Received: from [185.7.230.213] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFGSY-00013o-MW; Wed, 24 Oct 2018 10:32:18 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 0FD9F440078; Wed, 24 Oct 2018 12:32:18 +0200 (CEST) From: Mark Brown To: kbuild test robot In-Reply-To: <20181023122022.GA35884@lkp-g5> Message-Id: <20181024103218.0FD9F440078@finisterre.ee.mobilebroadband> Date: Wed, 24 Oct 2018 12:32:18 +0200 (CEST) Cc: alsa-devel@alsa-project.org, Mark Brown , Olivier Moysan , kbuild-all@01.org Subject: [alsa-devel] Applied "ASoC: stm32: sai: fix noderef.cocci warnings" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: stm32: sai: fix noderef.cocci warnings has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 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 >From 409fa67a7f4a68f6990955849c22eaca589f18c0 Mon Sep 17 00:00:00 2001 From: kbuild test robot Date: Tue, 23 Oct 2018 20:20:22 +0800 Subject: [PATCH] ASoC: stm32: sai: fix noderef.cocci warnings sound/soc/stm/stm32_sai_sub.c:393:26-32: ERROR: application of sizeof to pointer sizeof when applied to a pointer typed expression gives the size of the pointer Generated by: scripts/coccinelle/misc/noderef.cocci Fixes: 8307b2afd386 ("ASoC: stm32: sai: set sai as mclk clock provider") CC: Olivier Moysan Signed-off-by: kbuild test robot Signed-off-by: Mark Brown --- sound/soc/stm/stm32_sai_sub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.19.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index ea05cc91aa05..211589b0b2ef 100644 --- a/sound/soc/stm/stm32_sai_sub.c +++ b/sound/soc/stm/stm32_sai_sub.c @@ -390,7 +390,7 @@ static int stm32_sai_add_mclk_provider(struct stm32_sai_sub_data *sai) char *mclk_name, *p, *s = (char *)pname; int ret, i = 0; - mclk = devm_kzalloc(dev, sizeof(mclk), GFP_KERNEL); + mclk = devm_kzalloc(dev, sizeof(*mclk), GFP_KERNEL); if (!mclk) return -ENOMEM;