Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1750119pxa; Sun, 2 Aug 2020 19:59:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwf6M7D8Si1uuDg5h35KcMrFuz2seONaR6idBuNyuk/J6JviIljx2yyHfNh++tYYEAD24y5 X-Received: by 2002:a50:ec0c:: with SMTP id g12mr13447938edr.27.1596423555818; Sun, 02 Aug 2020 19:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596423555; cv=none; d=google.com; s=arc-20160816; b=tygzgR4sAd4rMaPg/VgBcGlOleH3o0nGr5PT76zduD95oJ4/RC0EWkA5231wD5lP/C 8JtJDVKgzTN7bX0Ep2tOV7WwjBGfDvXLEe2+QeklCRosdJETngDPu1iUYd7XNvEoPQsE /tTHoPKUqX3fbHCm30vejtO3Gh6gklcuN21GW5usWQNHscrgcIeGE/z3ni541knF6reC Q1AwW7hXxKv4w16JtlvLfUsprRl+gvufZbhe5Nx20w2n/UmXOV/QeYjtyGaMFtxmF/YS Za4ovK+LDARcJB0HrrokbgxHqb3N2+fIqFGJjVM3oXm/VqhO7eJVJubNBfWCpjEPWkMS fMlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=UYxwZ0P+q+fKx3RTeT/v3epewQ6EV5HJGSldwskUAqU=; b=PsTFQGNAEFpdS3XLlahl1SkHaghMpQXNWW+zpiAr+GgzzNwcyqHKl4bFTOw0OxFrcx MgydaeEZYJzp3xpSvyemCbIZ9zbqScx7wJ/UAg0U8MCoxI8Z/DcxaKdUYSO2D8R6EULB d8nXByPPlhlrukjfIpjd2V/7eIjyrKXY4sxGsGAIsyb8GRbXu1/xmNjoGXH9d2NyfZhT WscygSKI7J1K9Uy1Y/c8J+OruXTWn9K6MKKIq4MZf05sJyNCCgelTRwa3bM9Gv2j2XRk zjc9KjT61VfQu0RAr7RO6pqVsCWkC8kmrgfB+sPvSZTTbq3KbhP+JfdbljJuLKExo+G0 EoCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=IBdd+dV6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si9514220eja.517.2020.08.02.19.58.53; Sun, 02 Aug 2020 19:59:15 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=IBdd+dV6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726947AbgHCClJ (ORCPT + 99 others); Sun, 2 Aug 2020 22:41:09 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:23943 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725820AbgHCClJ (ORCPT ); Sun, 2 Aug 2020 22:41:09 -0400 X-UUID: cd93467867384170a77c3c57c92a57c2-20200803 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=UYxwZ0P+q+fKx3RTeT/v3epewQ6EV5HJGSldwskUAqU=; b=IBdd+dV6dpcIzkCcXrMv+7cCDs0UMvUTkFB34HVk7myeRxDiALnln2j/TOXvGwph/PXvzmrrZ96ag1XsTxmvSHOC5K05dixBzTlzcLwXSKRRovNUb0mN11zhfQx3zLg2aIjrdXjsS8IEwFTSMR2lXRYHEF1wzoHW2MCxPyylbs8=; X-UUID: cd93467867384170a77c3c57c92a57c2-20200803 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 2071013625; Mon, 03 Aug 2020 10:41:04 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 3 Aug 2020 10:41:01 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 3 Aug 2020 10:40:56 +0800 Message-ID: <1596422456.22971.1.camel@mtkswgap22> Subject: Re: [PATCH] acpi: fix 'return' with no value build warning From: Neal Liu To: "Rafael J. Wysocki" CC: Neal Liu , "Rafael J. Wysocki" , Len Brown , Daniel Lezcano , Thierry Reding , Jonathan Hunter , Jacob Pan , Matthias Brugger , Sami Tolvanen , ACPI Devel Maling List , Linux PM , linux-tegra , Linux ARM , "moderated list:ARM/Mediatek SoC..." , lkml , wsd_upstream Date: Mon, 3 Aug 2020 10:40:56 +0800 In-Reply-To: References: <1596166744-2954-1-git-send-email-neal.liu@mediatek.com> <1596166744-2954-2-git-send-email-neal.liu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIwLTA3LTMxIGF0IDEzOjMzICswMjAwLCBSYWZhZWwgSi4gV3lzb2NraSB3cm90 ZTo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