Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1043637pxu; Sat, 5 Dec 2020 02:15:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdISaUSRQCDdSyHtpYvBR1TnMsBkoaGWPvcRTVLqsRO5PKQeCYpCTrdKB8LZ3P/RpBW440 X-Received: by 2002:a17:906:f153:: with SMTP id gw19mr11362243ejb.272.1607163313264; Sat, 05 Dec 2020 02:15:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607163313; cv=none; d=google.com; s=arc-20160816; b=XaBpUMk7uwPT6rNkqMKMInhoCJpVlAe16VbQxyzASJZRWiUoOUKCNSy3+omxrnwHW9 xdGTW9sWldIUzRBxny8oRGRYWmvEJa8Evkfc2n9nfC6PEM/9s5YMOx1cVSkQcB+ntYuG BoZDpmO9PZRaqz/29IHWwjJi+nCJD2Kw0I3Q+d3QHCSQ4l6fxIMJPZyWNSSHJ/CNxl2V qgJFrPui12S3nxqRsBtxszJ1OVul5g9MvmJFvGiJRejSz9g5r4beiQAmTK3Oc5PPLhJ/ vdOc1Obf0155cya/LUsv0o1ZJVIA4jsmmJfENA9G5X6HjpVr8OudeRJzAfjzP3sRjc6e znBw== 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; bh=TWqOmkOYNtLtYr93ZqmTLIBWa9HfHVT8FGYDWkprOas=; b=QM2jKX0hxpQ+mtSNv8zGOUP/c9Rw0f1bXHxc//PQzPSK92OHWl0651+5ZZgfOGXCnK keTvuxp12/+9tyym/EQGCN1Yu6W3Rnn4N9JpA/SYym20l/0l63tLr3Qp8q5JVXAswO2s c2fPCVhqPKKxHXsi3LC8CEJLbxRh6pJ7miqgJbvkvzyfjyyr/6ZXqKq2x4gaIk3LziBD klVxyY2tvpc/kL9hLTmpC7/9hsi/t/qQ7+gTKrno/44ySkzx7NdxkEe7eHRL/Tz2StNP Jb+ZHU5VxKVhA4l55VBg85YHw8h7qk68nFgoYuIuLJJa2j4hlxF32kgzV2O5ap39Oq4T JfLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r24si4799564edc.286.2020.12.05.02.14.37; Sat, 05 Dec 2020 02:15:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728720AbgLEKFH (ORCPT + 99 others); Sat, 5 Dec 2020 05:05:07 -0500 Received: from isilmar-4.linta.de ([136.243.71.142]:47412 "EHLO isilmar-4.linta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726043AbgLEKBZ (ORCPT ); Sat, 5 Dec 2020 05:01:25 -0500 X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES Received: from light.dominikbrodowski.net (brodo.linta [10.2.0.102]) by isilmar-4.linta.de (Postfix) with ESMTPSA id 549A920110F; Sat, 5 Dec 2020 09:05:30 +0000 (UTC) Received: by light.dominikbrodowski.net (Postfix, from userid 1000) id 54C6620ECA; Sat, 5 Dec 2020 09:58:05 +0100 (CET) Date: Sat, 5 Dec 2020 09:58:05 +0100 From: Dominik Brodowski To: Wei Li Cc: Andrew Morton , "Peter Zijlstra (Intel)" , Olof Johansson , linux-kernel@vger.kernel.org, guohanjun@huawei.com Subject: Re: [PATCH] drivers/pcmcia: Fix error return code in electra_cf_probe() Message-ID: References: <20201124070040.3583-1-liwei391@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201124070040.3583-1-liwei391@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Tue, Nov 24, 2020 at 03:00:40PM +0800 schrieb Wei Li: > When it fails to call of_get_property(), it just jumps to 'fail1', > while the 'status' which will be returned is not updated. > > Fixes: 2b571a066a2f ("pcmcia: CompactFlash driver for PA Semi Electra boards") > Signed-off-by: Wei Li Thnaks for the patch. However, this issue is already fixed by commit f15480e947d4 ("pcmcia/electra_cf: Fix some return values in 'electra_cf_probe()' in case of error") in pcmcia-next. Thanks, Dominik