From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA0C5C433DF for ; Mon, 24 Aug 2020 16:10:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8D1B02072D for ; Mon, 24 Aug 2020 16:10:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598285414; bh=0gWHk87xcbVBllUJKQt0YOJrPLVaKT8GXW9QXecvXGU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=01YT4e9h2/4vUk0drhY6+fLQL9GPeYECHArOlohA/OY2K4vhzuTEj3Y0Czfni97xe zP5OIO0riesU5DFCE6XdlFWS69Z6Dci4mp+31XUg9yEJEKJPTcu91GXGL15uwj3CQz VYkrpi64P3GdEvESd0lSNfvvgBh5MR6QPQPwRfLg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727079AbgHXQKI (ORCPT ); Mon, 24 Aug 2020 12:10:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:51672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726519AbgHXQKD (ORCPT ); Mon, 24 Aug 2020 12:10:03 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 10A912072D; Mon, 24 Aug 2020 16:10:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598285403; bh=0gWHk87xcbVBllUJKQt0YOJrPLVaKT8GXW9QXecvXGU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Scgpb744nC6We6ULD4ryYR1ZO2SoL3xuRTFsiPR56Sp6eCS4Py88EfvxtKFP6rd63 HMVbNjK2yxRjNa5+Dnss3AvOb2Z859AXtcfqE06iVnag5yorNgHuZOZE9AOvfupnTu XVmU+rk5N5hfYux1Uzk/awYkCcHpMKKThy5oPSLc= Date: Mon, 24 Aug 2020 18:10:21 +0200 From: Greg KH To: Viresh Kumar Cc: stable@vger.kernel.org, Viresh Kumar , Nishanth Menon , Stephen Boyd , Rajendra Nayak , Stephen Boyd , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH - for v5.7 stable] opp: Put opp table in dev_pm_opp_set_rate() for empty tables Message-ID: <20200824161021.GD435319@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 24, 2020 at 03:00:03PM +0530, Viresh Kumar wrote: > From: Stephen Boyd > > commit 8979ef70850eb469e1094279259d1ef393ffe85f upstream. > > We get the opp_table pointer at the top of the function and so we should > put the pointer at the end of the function like all other exit paths > from this function do. > > Cc: v5.7+ # v5.7+ > Fixes: aca48b61f963 ("opp: Manage empty OPP tables with clk handle") > Reviewed-by: Rajendra Nayak > Signed-off-by: Stephen Boyd > [ Viresh: Split the patch into two ] > Signed-off-by: Viresh Kumar > [ Viresh: Update the code for v5.7-stable ] > Signed-off-by: Viresh Kumar > --- > drivers/opp/core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) This is already in the 5.7-stable queue, why add it again? confused, greg k-h