Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2081942lqa; Tue, 30 Apr 2024 07:45:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVLVcWjpWctOKuzVbNMaxXxwLsnXFca/flHGTbxQZoHS497oAykwkHlUEE5OVMXEpHdQ/fqIE9szf6/6C6kGidotXMHQct1vG2/zPR8uQ== X-Google-Smtp-Source: AGHT+IGajsV8pv/FNBm26tkGqddk86N7DSscH69BTmBWoPl5qpCtgt/8d7zZsBbZivW7/KYu6vPe X-Received: by 2002:a05:6870:709b:b0:22e:c504:74af with SMTP id v27-20020a056870709b00b0022ec50474afmr11920594oae.20.1714488313527; Tue, 30 Apr 2024 07:45:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714488313; cv=pass; d=google.com; s=arc-20160816; b=bfLuUCBtZq5budXPknqaspdCiX2m2HMZPvBcoprKQqdxSCwfGheA/5CQ04tAZ2xdqA 04JkGabOGc5Xo24i1XeJTYFH62cV6Hdi9FMOBcRi82hTAH+p/QMIVVIdQs4X7CwivaVa H47mbZYM+0tyJ8E9cyZBhhSH/zuZdMkF46MybC0Hn7WcwPUNFHCE10bsWJya0kQLCqna +auVDfG1nqMCiAa3fm7tPLYLV9zw9Z2rwJ5sVf41iiqEu3X+2413gGGD0Hd0kisi06R2 KRSHBJJVVUf0J/UHeZJJbNPaj9dxrBPsb8+aWO9cOpUX9fWNIELPE24EZoWHbWLaZJca I7NQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :in-reply-to:content-disposition:references:message-id:subject:cc:to :from:date:dkim-signature; bh=YwM+R5Y3CMJbTvogva1QfzG8leQfU778k06xwg/Mcwc=; fh=xp0kUvEhGUildiJ1kl05QtxbgkQ+C/Od2i9R+RgBk/s=; b=W6+04x2GeoMjaCOnH0xCRari3gvc7FrWS1QAoZueEfyAau67v8wzaITqkLuBl43QW5 twoxQAqZSGdpIiaL8qHr6ZZ9wml2dLttk9YgWkuYJUgSQ7mSH+93aIF4m4Uf/k/v0sfO 5Tc7CC2KdYfa1sfXe78Qgd215U2wT7tc1UjWh9btFLTfXMkC1OgsopnPfqWQlb3iK7/r GxJ5JdPuA15qZtw1mAKCfBycz2xuGWWWplVU3fFvBuz04fNyaNn6Tf38pv6yNfRi03vM JVlfJUqGUBcGLmLkqugvuPSSrbC8f27Err/XQcFbwb90CUrpb75vsC/F0uRWy+ZwEj3w nJag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=GVfN5bDH; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-164186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v9-20020a05622a130900b0043adc129a9asi5359153qtk.125.2024.04.30.07.45.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 07:45:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=GVfN5bDH; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-164186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2CE581C22A88 for ; Tue, 30 Apr 2024 14:45:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D08C17B4E8; Tue, 30 Apr 2024 14:41:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="GVfN5bDH" Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95BB9770F0; Tue, 30 Apr 2024 14:41:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714488064; cv=none; b=X9LS0/FZD1POZz4eqOvkDVBHFx3FM9lYDo6i2moLF8DfudxuR2x5kM8wEnpkCUkhQ3k4A9KMVUHPfVGCtOsQd3+zEWbbbz+6L3VvK8yXYIXzy12UuxmAasfEJe6nsnFmsjH38Pw8PCF7XBE4+WCVimSA951MFyugX1hPZuqsycI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714488064; c=relaxed/simple; bh=mF4D0bjwFYpqf3wf5iTDpehEqt73WSoAjWjD4DyHamk=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=TyeLA9o1AObMr8yIb7z62i5ONPyvRuTQwh1JL5zzqIsCxhW88fjjlfFLe2+otzrap0imib8+9iaoUMs/8WOuv/EriiLG2/qQR2zbDsUfl5EzjYJdBVV8xQ3bSeOr2zk4OtwXxzsA1DwvMx4XqrRHIcuxJmSNjaZ+aedbFrp/49o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=GVfN5bDH; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43UEdMBq005235; Tue, 30 Apr 2024 14:40:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pp1; bh=YwM+R5Y3CMJbTvogva1QfzG8leQfU778k06xwg/Mcwc=; b=GVfN5bDHVzxlH7qQ8GoMldAWpUGXDu9QFtzQT37hrJ/s13hreQDUokgjoIaCMqsXYUtk MSq8PkQ219gEjPc0cr2GW9qzRlf7oJc4QTzxHXBBjoS55K6k7ohamqhJ3HIiV/ZsvY+t K4ZCyITW3v7DoLqeJ5LLuYl+qz+zzMSDI4qcT+Io75bHZnI3+RFelbaMbZB7RVauG8/W H67InC2pGe++yoRCdKM1DEKQKCSE1YNanjEpy/LysALASXjWyuZbGwXTvXIG/oSUG4DW 7fAfGp1ZNKBRf7EttySjWvQQ09d6RNpmD6JcNhzivBnYyHDJBMrQDl//ouYCqEMDw8ss LA== Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xu2k9005y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 14:40:50 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 43UDTXSh003210; Tue, 30 Apr 2024 14:40:50 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3xscppdghg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 14:40:50 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 43UEekXj11272672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Apr 2024 14:40:48 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 23FF92006E; Tue, 30 Apr 2024 14:40:46 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E212420040; Tue, 30 Apr 2024 14:40:45 +0000 (GMT) Received: from osiris (unknown [9.152.212.60]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTPS; Tue, 30 Apr 2024 14:40:45 +0000 (GMT) Date: Tue, 30 Apr 2024 16:40:44 +0200 From: Heiko Carstens To: Arnd Bergmann Cc: linux-s390@vger.kernel.org, open list , linux-clk , lkft-triage@lists.linaro.org, Linux Regressions , imx@lists.linux.dev, Abel Vesa , Abel Vesa , Naresh Kamboju , Shengjiu Wang , Shawn Guo , Michael Turquette , Dan Carpenter , Anders Roxell , Peng Fan Subject: Re: [PATCH] clk: imx: imx8mp: Add missing CONFIG_PM ifdefs Message-ID: <20240430144044.35561-A-hca@linux.ibm.com> References: <20240430141609.2244416-1-hca@linux.ibm.com> <99ef1ba3-155f-47e8-b1a4-e46cb056cbfd@app.fastmail.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <99ef1ba3-155f-47e8-b1a4-e46cb056cbfd@app.fastmail.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: cAhw_NzK7JsV_S9ipQmmkWxam1nOQf_L X-Proofpoint-GUID: cAhw_NzK7JsV_S9ipQmmkWxam1nOQf_L X-Proofpoint-UnRewURL: 0 URL was un-rewritten Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-30_08,2024-04-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 spamscore=0 phishscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404300104 On Tue, Apr 30, 2024 at 04:30:37PM +0200, Arnd Bergmann wrote: > On Tue, Apr 30, 2024, at 16:16, Heiko Carstens wrote: > > Add missing CONFIG_PM ifdefs to fix this allmodconfig compile error: > > > > drivers/clk/imx/clk-imx8mp-audiomix.c:356:12: error: > > 'clk_imx8mp_audiomix_runtime_suspend' defined but not used > > [-Werror=unused-function] > > 356 | static int clk_imx8mp_audiomix_runtime_suspend(struct device *dev) > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > cc1: all warnings being treated as errors > > > > Reported-by: Linux Kernel Functional Testing > > Closes: > > https://lore.kernel.org/r/CA+G9fYuP7S+a89Ep5g5_Ad69EMwRkJ8nM+MMTzbEcP+6H2oMXQ@mail.gmail.com > > Fixes: 1496dd413b2e ("clk: imx: imx8mp: Add pm_runtime support for > > power saving") > > Signed-off-by: Heiko Carstens > > Thanks for your patch. I see the bug as well, but > I think a better fix is to replace the deprecated > SET_RUNTIME_PM_OPS() and SET_NOIRQ_SYSTEM_SLEEP_PM_OPS() > with the modern variants, RUNTIME_PM_OPS() and > RUNTIME_PM_OPS(). Fine with me, I leave that up to the original author then.