Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37721480rwd; Tue, 11 Jul 2023 19:27:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlEL2s1TyXyAnHkW6mxMbXXMu0xHZCUcaMTgf1xBHHcZPbj/9AFirWbnySDGvsn9V0pwgm5A X-Received: by 2002:a05:6e02:100a:b0:345:a3c6:87ba with SMTP id n10-20020a056e02100a00b00345a3c687bamr17496455ilj.22.1689128833822; Tue, 11 Jul 2023 19:27:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689128833; cv=none; d=google.com; s=arc-20160816; b=Z9GbiN2sRVveP9UkGKXHZNvbAQ5mAgWBavAwoeIUGziSksehq9yyyuRMpzqOH3/fVj CF46lX5h0HYEmgfRbxSbVlWzQmkH6WhUhMWHYf0sbBnXu6B4Z9GVGVTT4G2MTQIDIO4A PSFOMecSLe3CElH5UXzsLrwQkVkR3Lbgmp0lw+R3NqHjnhvqpqwHIO4Hzcw2mFbrbaAT EH8NR3rIvVBxsjnaWLWAAor8Y9Tb2Miq7Go/PFqaISDYk+RsSTqOi19KgTC7IkxVh5Vw meO4wuTB61AH0AdJPgCZ9YSjfQMxjTjbQ3Q1JZ2QiqOEbjRIdPpOOJVA//asNDDCuLT0 jwyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=COc00lxZBHa5Ta9q0n2upYokDdrI5FZlEGBbVO2st90=; fh=H2uSaLX2uTB6qDk+g9EL/Qdp38fw8k+UTci8LzIHh0w=; b=Vk3gwSDKVs5wYTA8ljXLd35FS/c8+CAD3PuoddMdsKq6lRh3nAYcgQKd/1dC6BRopW LqqCcdj74cLZaJdZbDM0SlFya9csSIByTaiUOdRvTlx51nN28w8n0l/ci3dPgmEnEzRZ KqBiVBpsTPkgmOKYIQA0HCRzwqWeuEQQ2ouH1x0qi840vOlO6DIaVK8ncNMDthOaZwZ0 K1dR5NtbgmE05Z4Vyf84MWfeaNjWoTZuP6QTi6EPZVW6+MvQwx1a6L6rVI7bNb+CstAH hwSTWRz08rdgCJp+RZZfOvJHGl1d9o775gwKfv9hZlqIKXBiBujLP2ahQ10JjK34veZx CMjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HinER0Ft; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i186-20020a6387c3000000b0055be61476b4si2296316pge.288.2023.07.11.19.27.01; Tue, 11 Jul 2023 19:27:13 -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=@intel.com header.s=Intel header.b=HinER0Ft; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbjGLBoU (ORCPT + 99 others); Tue, 11 Jul 2023 21:44:20 -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> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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