Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp382142iog; Wed, 29 Jun 2022 02:07:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sqVcnxJexMpVWHUoKvs//tflRJSlXtr2TIjIcBtCOgCp159lqtMDWv346u3xXpIaEAbKVJ X-Received: by 2002:a17:90a:ca8b:b0:1ec:9afb:1a2d with SMTP id y11-20020a17090aca8b00b001ec9afb1a2dmr4481982pjt.225.1656493657232; Wed, 29 Jun 2022 02:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656493657; cv=none; d=google.com; s=arc-20160816; b=uGwT8kQnmgySuA//xqlBPibyWskK3qHs5TFi3HL7l6J6y7vEJS8LFUqi2P/iBgDCKm ZX78RWBNXYosjbuL1uiBnfvwmjAFbFcSo6Zq4jFGYDmBx38DJisBHqno9nfrS9vT4Qme DTezXGDrn3futY1bx0SSbJXQvf7xCN4osRbnd8sK/ypM0pvqu3KUgcaIvr+0rr0cHItv R2WF0Tui/V5NGSG62lrWL5nk2ZKUgj/Q6GXyBDidFEeD5uDKxANdFsx6D2J1WuiMydsn X+EyAU+XWN+GWMwNrhbLL6+zxYlzsYySV4Y6LZwWkdnDGcpbaqc9PZMnqb6puQhs1DLg AGVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=rmYror7X2cuo+wP31gLVv3v67xXSD4f2xZ+MeNuzCqM=; b=FNf4k4hjWafQDQqbV6Sc76aUBWItrUys51rjIIeFZ/QEFowZ8+MVrCsZpoxbI4xt8f FCQxj5qmytZsXmwxhx2yAxNe+eEoVq9HxqlW0Q10OD6czOCnOUyVWJINIUGKG2SheP+8 w5btt4RUonQ+1/Jc7E7lgmGbTio6SIGk/9bKcE/0d2e/IqU9ci5R0DQkwQKjC2XZlKKr 898i250yGXz1mH8lIZVC5bizlNHugb/PcCIEdAdx9MFa/XQGS+VNouX+EAaPsQ1J5YyE rLlN0NsIEz+oNgF8YKOiFKC/sWLjXDamOhIZzqrSRD5OtM3oXFBCZtpN8ee8O4u5iU35 BN7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="U/OmEbF7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z36-20020a630a64000000b0040d71f0492bsi21200898pgk.120.2022.06.29.02.07.25; Wed, 29 Jun 2022 02:07:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="U/OmEbF7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232708AbiF2I22 (ORCPT + 99 others); Wed, 29 Jun 2022 04:28:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232784AbiF2I2N (ORCPT ); Wed, 29 Jun 2022 04:28:13 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A378C62C2 for ; Wed, 29 Jun 2022 01:28:08 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2647A66018F4; Wed, 29 Jun 2022 09:28:07 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1656491287; bh=GH2xhOUcGT/R9ajjAeKkq4p/KZEbUFVa0+S35618jKk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=U/OmEbF7QyBSwx/kXpjFoy2wtAZBeaJ4c2au+cijnLontCV72yuWA5wqePOVmKgGF UskLPCJMm4ZqpSKcKU7yUPD8XxHeuVlavouqaz9h5Y8FVdRM+qvF8x261HBXfd+tMX geM22IRqA122lCsqtelQyoapKmdNBj32JFAfSkrvwIWA5VCtR5w2nGKZtLkOOawuRs ItxOZM124S3mLGRcg15ToWiosvXXsYlxflD0CiOT1BpnymuTk67SYaGhcBjJM2pfPx MOBraxrTv65M2qSOZRHXLRNhEnjYYrnvXEN+u2NeICNveweSyDug+ev2N7ymqO9YgO blnHIIeCPxrhA== Message-ID: Date: Wed, 29 Jun 2022 10:28:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] drivers/soc/mediatek: mark svs_resume and svs_suspend as maybe unused Content-Language: en-US To: Max Filippov , linux-kernel@vger.kernel.org Cc: Roger Lu , Matthias Brugger , Kevin Hilman , linux-mediatek@lists.infradead.org References: <20220628121326.2097912-1-jcmvbkbc@gmail.com> From: AngeloGioacchino Del Regno In-Reply-To: <20220628121326.2097912-1-jcmvbkbc@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 28/06/22 14:13, Max Filippov ha scritto: > This fixes the following build errors on platforms without hibernation > support in linux-next: > > drivers/soc/mediatek/mtk-svs.c:1515:12: error: ‘svs_resume’ defined but not used [-Werror=unused-function] > drivers/soc/mediatek/mtk-svs.c:1481:12: error: ‘svs_suspend’ defined but not used [-Werror=unused-function] > > Fixes: 681a02e95000 ("soc: mediatek: SVS: introduce MTK SVS engine") > Signed-off-by: Max Filippov Hello Max, This is not the right solution... and besides, there's something else in the works; check here: https://patchwork.kernel.org/project/linux-mediatek/patch/20220623030931.2816013-1-jinxiaoyun2@huawei.com/ Regards, Angelo