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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AE51EB64DD for ; Wed, 12 Jul 2023 01:44:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231494AbjGLBoV (ORCPT ); Tue, 11 Jul 2023 21:44:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231516AbjGLBoS (ORCPT ); Tue, 11 Jul 2023 21:44:18 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5633D1717; Tue, 11 Jul 2023 18:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689126253; x=1720662253; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5pOQqiTYbjzWAxv1kjdZf1mILm6585ylD9tNeo1102Q=; b=HinER0FtY39VlryagLkTp11tzXWI0/HhcYwH3i0CoMDPD+ey9C+IO0wc bXq5SwbnC+gR7YKBTjZpnWcgkNQ2zh/Doopbdlms43Zo9lz1+6/FK1HcU 8wYU27S6JVb6hBVotep9SONKqfYObZhh1SU6d2syP7kDr284LDOrQUnod Jj9ETLS7vJFCyylM8NZcBvopgWUKIohuKzSAgXsUBFQQPooyRtwipqamg /ppSMkrfFhO1V6nfF75KXydycSdYW9iWYRnaW3qqfCNxzb1O5z0MxwClA 0lJT2dfNAoVB3yE2qpDEfUgcyLbir63DsuIRLB3G9CtfxrxJyYEfUvBMc A==; X-IronPort-AV: E=McAfee;i="6600,9927,10768"; a="349629565" X-IronPort-AV: E=Sophos;i="6.01,198,1684825200"; d="scan'208";a="349629565" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2023 18:44:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10768"; a="834931580" X-IronPort-AV: E=Sophos;i="6.01,198,1684825200"; d="scan'208";a="834931580" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.165]) by fmsmga002.fm.intel.com with ESMTP; 11 Jul 2023 18:44:11 -0700 Date: Wed, 12 Jul 2023 09:42:41 +0800 From: Xu Yilun To: Greg Kroah-Hartman , frank.li@vivo.com Cc: Yangtao Li , Moritz Fischer , Wu Hao , Tom Rix , Alan Tull , Moritz Fischer , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] fpga: socfpga-a10: Fix incorrect return value of devm_regmap_init_mmio Message-ID: References: <20230710133830.65631-1-frank.li@vivo.com> <20230710133830.65631-3-frank.li@vivo.com> <2023071010-anatomy-paying-3e3e@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023071010-anatomy-paying-3e3e@gregkh> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-07-10 at 16:11:35 +0200, Greg Kroah-Hartman wrote: > On Mon, Jul 10, 2023 at 09:38:30PM +0800, Yangtao Li wrote: > > When devm_regmap_init_mmio fails, we should return PTR_ERR(priv->regmap) > > instead of -ENODEV. > > > > Fixes: acbb910ae04b ("fpga-manager: Add Socfpga Arria10 support") > > Why are you not also including a cc: stable@ tag here? The change is to propagate the error number produced by regmap, instead of using a fixed error number. I think this is more of an improvement, not a bug fix. So no need to merge to stable? And the changelog should be improved to avoid confusing. Thanks, Yilun > > thanks, > > greg k-h