Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp245520yba; Thu, 25 Apr 2019 22:26:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfIl9qQzmw5Gg3kLLIRYALW1dUT380Ngag0vuR1fiYqlnWRhCwxeYrQmkP/sWOUDviLsJO X-Received: by 2002:a63:c10e:: with SMTP id w14mr21901610pgf.206.1556256408534; Thu, 25 Apr 2019 22:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556256408; cv=none; d=google.com; s=arc-20160816; b=C3M+1ypOrD0RYDh4e5d94NDdP8vzj9FJi7p1qvgEyNucVgMA2hpOt6Upi37GUyEMWQ qf1yBxf5f3Nzf5trQgnTjBNLvAYr8Ru0ZWypPKhEdyNyRlVrkOlEOCni3VQBvnL8DhcR R+i8YwJzCh33vGnnn5aoGEmNqOGeRXLSVdzs8rvcLvNzvhJSiVlkSroOvV5soKVLbolo tjZT77Hn2zMH6bBnDJnMKAIo93mUJTj65v1wvoQClqzVU4+BN/0M4XkhOKbskSrbSLof QveHd/VcCvO2OS9vnlwbbOK2qz884B6YQ7ahWygKXNP0Khv+Dnp/mao7RxQC/asbDHlJ lAvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=EkKGDznBbBFdZirc3jAzxYvo3XCrpzWTjeLOR2RWDaI=; b=QFXy2urATORLMmiWMo2C3xyCCrwVg/32iEH3f00fMO/iXc8gyClYL/RIWhA98hwmi3 lgqjc5lmJdnKjhM3XtV1u1ELOQHEC+ZGEEKr58yVcXnQQJLBKCE7Jg59f8hE7C8SmyxA DweWMaUSLoQgLj7m8ZR5HEduEK6nq2Pxo7GmASPG+co8bkEdfLw/FNQalu6uNmUotQJM ESO26mqmNoPJdq7+O0vmqJ68tY5yhlvphxF/oRGLzOC5FnY8M50R5I0VMN5leC4PjyTh ZhHQB7vY4s3JJxhbp1BqMWqq0KPXnmycTQ79fJr2mAtCQXFJ+yNZEGeNbhczTcAlNHgr MA2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dDGVnEVV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e96si21984425plb.0.2019.04.25.22.26.30; Thu, 25 Apr 2019 22:26:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dDGVnEVV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbfDZFT1 (ORCPT + 99 others); Fri, 26 Apr 2019 01:19:27 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:38892 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbfDZFT1 (ORCPT ); Fri, 26 Apr 2019 01:19:27 -0400 Received: by mail-ed1-f68.google.com with SMTP id c1so2067572edk.5 for ; Thu, 25 Apr 2019 22:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EkKGDznBbBFdZirc3jAzxYvo3XCrpzWTjeLOR2RWDaI=; b=dDGVnEVV15F6OJ8thkEsN9JsCEo1VAtAMLxKxQGe5+5s6CDTooHBEE75QPq/Y/9J8Z 7wUjXyWnn5i+bvagOtqwUYB3wuI7s/RjXgyF/PrOnIXFbopBGkz3ypMwtGj3gXodq77e ZVkO6bOP07iU02WczIvc8Ek88kSi2nFh1hx6xtXWoO4bDZZonW5SF6Xbj4UhJFajHw0B KesRMb/f8JIKoQpqMPvo7SKB3fb7TMCW4lKtkhOEshIHVChfQgwHejh+KS0G1DslF87L WZQU8wkrrQByLeVJJf7lZoDH55l8ecrDlpL4GoY1hIsbevbbkURKubdDqCw0tSv+lvIK 4wRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EkKGDznBbBFdZirc3jAzxYvo3XCrpzWTjeLOR2RWDaI=; b=roZe3VQUivZvVlngboLRdHuJkKzZzNBxWy0oornIIsGfDJ6QZzNM9uNcnVdlKguECe FgK99fqJojxPg7EzpzM4no+XZ/AXhYwshSPHsQ6iM4Tsg2uEiAvoW3h8Hd64f+fTSoMu Wd8dCYYNMFKfE0oWTs6qw5g6ILwM6JnD2xqW4QuDliqk3L1PeOZBYW7/TWqtHiut5fCm j7og4egvJou3/FO9tVMf1mmBEPwf49PoDnAWIFcr9jeroN1mnYjDLnI5Glw54Fx2hS0O 3RoPizxBJXsRf4cQYl7MnPlv/48+EFpo42QlJGn0p9PR4orLGlZouuFiJRxlUSy6Mhap x1Zg== X-Gm-Message-State: APjAAAWm54uWQrhFJjcfRflNUikwlIooLz5c+0El14DE+yCSpRhdihWq 6879CijwS1VXLABoRiQrG544g3xgfJp5yBjtKIM= X-Received: by 2002:a50:a3c2:: with SMTP id t2mr26702934edb.46.1556255965508; Thu, 25 Apr 2019 22:19:25 -0700 (PDT) MIME-Version: 1.0 References: <1556248850-3748-1-git-send-email-nicoleotsuka@gmail.com> In-Reply-To: <1556248850-3748-1-git-send-email-nicoleotsuka@gmail.com> From: Daniel Baluta Date: Fri, 26 Apr 2019 08:19:14 +0300 Message-ID: Subject: Re: [alsa-devel] [PATCH] ASoC: fsl_sai: Add missing return 0 in remove() To: Nicolin Chen Cc: Mark Brown , Daniel Baluta , sfr@canb.auug.org.au, Linux-ALSA , Timur Tabi , Liam Girdwood , linuxppc-dev@lists.ozlabs.org, Xiubo Li , Takashi Iwai , Fabio Estevam , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 26, 2019 at 6:22 AM Nicolin Chen wrote: > > Build warning being reported: > sound/soc/fsl/fsl_sai.c: In function 'fsl_sai_remove': > sound/soc/fsl/fsl_sai.c:921:1: warning: no return statement in > function returning non-void [-Wreturn-type] > > So this patch just adds a "return 0" to fix it. > > Fixes: 812ad463e089 ("ASoC: fsl_sai: Add support for runtime pm") > Reported-by: Stephen Rothwell > Signed-off-by: Nicolin Chen Reviewed-by: Daniel Baluta Thanks Nicolin! > --- > sound/soc/fsl/fsl_sai.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c > index 26c27dc..8593269 100644 > --- a/sound/soc/fsl/fsl_sai.c > +++ b/sound/soc/fsl/fsl_sai.c > @@ -918,6 +918,8 @@ static int fsl_sai_probe(struct platform_device *pdev) > static int fsl_sai_remove(struct platform_device *pdev) > { > pm_runtime_disable(&pdev->dev); > + > + return 0; > } > > static const struct of_device_id fsl_sai_ids[] = { > -- > 2.7.4 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > https://mailman.alsa-project.org/mailman/listinfo/alsa-devel