Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp942525ybh; Wed, 15 Jul 2020 21:21:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkZ+z/S2LsFea1iEEtV2yAa80AsU+byq+sgQqIE94lBpBwPWgnwR92AJq0WcbTh/ZGk+xq X-Received: by 2002:a05:6402:1b0e:: with SMTP id by14mr2562350edb.266.1594873266370; Wed, 15 Jul 2020 21:21:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594873266; cv=none; d=google.com; s=arc-20160816; b=UwjhRcEHSaMmD1A2dZ3qR+gmx7N6QrS99+OaIC5i2WUgAg70Pwz8lrZgjz6gnHHZgy iEeGHk0ugSzCdqcCKozTCDDuACqQnTKum0ThyyttgnPJa6BCWitPgxAQeW2f0/4R6JJl z6V77kMI702eeH5dH7PyoteRN9rE60FzNg/tECyGAlWMADnIRGNmXOvq4xT1y3KnG174 tcEO2g2ezVDDDJXWk/9z4W0HBnWAWw/91L5V11wxcngHi/akfcl7XPqmgoQWrh6khU5x o6p9nUVBi7LE+FwNj4kocJI0uCtxsPWXpAzqqWABgWGwaJdddJYdvUVaH/PuJ2/2F7Fe byqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=b/PBD03B0mMCBRxsm+Yx+mjXFAiKFUwP23cuwrj6/W0=; b=BpK2fy/B0p1olSsFtQ2t9YDatgIwM9nIMgZZwpqRrdxVAk80DP/uG/zisL6QNpP3ks M46roqkM4Ih5MVau6VrOcJV0BuIBzrn2ZN+hxdlj2809hCbgT6Y6nhUil856hIFXHGou WRg+nOAb7cSn4yFk2dzYEt5g9qBTjbawZEn+oQwLdYopM8n92qpOrXyDkBhztcgEUYCA IJrju6+O6KImjV27IrWxe3PQbk+XueNG6bKgMaBAR2mB3JP/yiDMXl29Nh24hk/ex8+y W7B6trE0mtUlTca/7he0OT5qJZPbF/Qog9YIke4eEtkvaP2O93e6g6b/ofKICjeXtPsg vwHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m12si2500450ejr.298.2020.07.15.21.20.44; Wed, 15 Jul 2020 21:21:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726037AbgGPERg (ORCPT + 99 others); Thu, 16 Jul 2020 00:17:36 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:40024 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725268AbgGPERg (ORCPT ); Thu, 16 Jul 2020 00:17:36 -0400 Date: 16 Jul 2020 13:17:34 +0900 X-IronPort-AV: E=Sophos;i="5.75,358,1589209200"; d="scan'208";a="52260971" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 16 Jul 2020 13:17:34 +0900 Received: from mercury.renesas.com (unknown [10.166.252.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 1D9D940078B4; Thu, 16 Jul 2020 13:17:34 +0900 (JST) Message-ID: <87sgds2ixs.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Shengjiu Wang Cc: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, ranjani.sridharan@linux.intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: soc-component: Add missed return for snd_soc_pcm_component_mmap In-Reply-To: <1594871563-30088-1-git-send-email-shengjiu.wang@nxp.com> References: <1594871563-30088-1-git-send-email-shengjiu.wang@nxp.com> User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shengjiu > Add missed return for snd_soc_pcm_component_mmap, otherwise it always > return -EINVAL. > > Fixes: e2329eeba45f ("ASoC: soc-component: add soc_component_err()") > Signed-off-by: Shengjiu Wang > --- Oops, indeed. Thank you for the patch. But it seems these functions are also missing "return" snd_soc_pcm_component_new() snd_soc_pcm_component_sync_stop() Can you please care these, too ? Thank you for your help !! Best regards --- Kuninori Morimoto