From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D24629A1 for ; Tue, 9 Jul 2024 00:24:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720484668; cv=none; b=OtYSI/NJz4hUPf9v9UAuZ74HdLPnnIJjK7+dzQTfCJoqG1ELRvuo7j/pJT0euosKpDiW9STlq1GKJIVogI3rb7svHiIpYdr76PI2sfQbnXdlCdsfsj3CzcI1Fhzzv+QHKZF2mSOtRlVm/thKW4WJArfqVo1wM9siJmpRHgenC80= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720484668; c=relaxed/simple; bh=OXijfxSktD32jVhvGlHifwLx3aNVOhgOTQl728nchT0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=GqSoB3bw7y6hDQ6pKCwtQ/XPKF011sDNQSIxLMRd+fHILccltm+/4x4aqT27CzxgZ4GvpnDPafEJgYRf81LHl8LdU6IoBCg2KjvVPg/Ps01bg94LPe7RaW1YZc3r1NpfeRUMQJCGs02q7+heeAap4Z9dFW1uvHJlZhDUs35DiaA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=baylibre.com; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1fb0d88fd25so29435995ad.0 for ; Mon, 08 Jul 2024 17:24:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720484666; x=1721089466; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wlo3UWV9lkDtVHiC3tnceLIBeIIjDfMxY69ysONeH1A=; b=sMf1KNHj/iqR+oXgFcQ/knpvFa6ByfHRsnzRlATra+S62/pArNQjzZIXEnROtEdisZ 8ZEfX7GAMkTZbt8EjBEZa56P+S7P7/j6FXcQ6FfRQMQZPAN/dFzG7Oz3fmWy6mgODFoG NxQGbVrdVXTHps5ZQjA231dSdB77X32NO1ERlysf7HQsRd/z/hnhGXACYNXUvVE7CCRa J5SO3lQjBrqXV3N2hWCQMbd435oy4yCbYVJ+JKG0sJl2s/FggF4SdJ4WFBUkISz5NG6K 9LTIpOvNFddEfP3mX8aS/QiIdskWh1AQhX9plPhVO7AlhTyUOmIC0OC1CiUHn7BBJ3Xx om0g== X-Forwarded-Encrypted: i=1; AJvYcCUdD2EJ2Mleu0SybtUPO36WAeg337iJufF/gL0/IRIFesFwer6rzwIyApGoeH5sz8ihBXiHoRPC9MOBgU7De6DjPc+bFFumbeeawA== X-Gm-Message-State: AOJu0Ywx9/GkzNH9VyzrZDK0r082yPhFlgP4j825xkP5de5F2Brp/t+R iELV8GBMjdXqzBuAIeUnS+6DDWk7JVODN938V04+QbwTDlhwhziV7TOycQu5TIs= X-Google-Smtp-Source: AGHT+IFdw3EaveRM2ZTHoRq8dYxA8E7q05nixOcYOGorj2dRL4w7J12n220WAjIf2IctJiJkVfxTEw== X-Received: by 2002:a17:902:db0e:b0:1f4:a04e:8713 with SMTP id d9443c01a7336-1fbb804725emr12528595ad.28.1720484666359; Mon, 08 Jul 2024 17:24:26 -0700 (PDT) Received: from localhost (97-126-77-189.tukw.qwest.net. [97.126.77.189]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fbb6ab7d2dsm4321415ad.180.2024.07.08.17.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jul 2024 17:24:25 -0700 (PDT) From: Kevin Hilman To: Viresh Kumar , "Rafael J. Wysocki" , Viresh Kumar , Huang Rui , "Gautham R. Shenoy" , Mario Limonciello , Perry Yuan , Hector Martin , Sven Peter , Alyssa Rosenzweig , Markus Mayer , Broadcom internal kernel review list , Srinivas Pandruvada , Len Brown , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Naveen N. Rao" , Sudeep Holla , Cristian Marussi , Thierry Reding , Jonathan Hunter , Matthias Brugger , AngeloGioacchino Del Regno Cc: linux-pm@vger.kernel.org, Vincent Guittot , Lizhe , linux-kernel@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-msm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 4/4] cpufreq: Make cpufreq_driver->exit() return void In-Reply-To: <3f73fda736818128558b61ad5fe2bed5dce3ddc4.1720075640.git.viresh.kumar@linaro.org> References: <3f73fda736818128558b61ad5fe2bed5dce3ddc4.1720075640.git.viresh.kumar@linaro.org> Date: Mon, 08 Jul 2024 17:24:25 -0700 Message-ID: <7hplrn76py.fsf@baylibre.com> Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Viresh Kumar writes: > From: Lizhe > > The cpufreq core doesn't check the return type of the exit() callback > and there is not much the core can do on failures at that point. Just > drop the returned value and make it return void. > > Signed-off-by: Lizhe > [ Viresh: Reworked the patches to fix all missing changes together. ] > Signed-off-by: Viresh Kumar > --- [...] > drivers/cpufreq/omap-cpufreq.c | 3 +-- For OMAP: Acked-by: Kevin Hilman