Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2467864ybc; Wed, 13 Nov 2019 15:05:28 -0800 (PST) X-Google-Smtp-Source: APXvYqyed/oG6vP7GEPCXGmBh4qoITuzv6MhQzvmiKSCurYcjdXvYCkSBSdqc6Sc7iKQ6SeQh27b X-Received: by 2002:a17:906:1e03:: with SMTP id g3mr5520783ejj.331.1573686328483; Wed, 13 Nov 2019 15:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573686328; cv=none; d=google.com; s=arc-20160816; b=JNtiqc7es0yJSsxqMLe1Iw2bu3ulR+XCgUGLv1RGUdg6fz7D5Bnkfq1zs3bUzuZ4Lp 42eHll8m8sDIsEDcCcG9y+/J9t31Xd9ZowbAm7seIFh5VuD0cEks9WnOQd+TqFWPlRA/ vPERZ8/X7jlvrtMg6quJwH1B42E0t8XrGvgPSf5raxuK+WBKzCppNf88hGv2YIs75MwU XXau2LPnXC1XyguOHxxP6dJ3m09eJj5q8OKS37nNjm0YOtMIyLlTBhdEtDyLvRAu2uKM 9wXom0/x+6hOqIwPoGSf3XpBO4yKdNlhBeY3Fm5uH3u3IBwnmujMH5KS/jsNJgqtIhIj kp0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:user-agent:subject:from :to:cc:references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=2AmqOHyJ6omnuRzB5myDDOYWpOkM5LXqNgKm+BcO0DM=; b=Qt7NmGrgt6n6VJEwpHu53Kip1D/D37Tj8b2lF1ZVpV95YwrmVDBs43D4HTE87PlExF IsXZ/LxTuGvPXbFFRp2jfdvcIF6NlA4eRtbAGKOWUXjg4bxYXLvacwhjc+OL7qPLwZLT W0ybjn/kO9bCotJIogYF4SFTDyWWXFEJWk0jsTUkoiQwW4jqXTE0Hw6x5nN7TYGCpKbC IOqj3a6KCasLvxePkUusDehmfPbOvp2CgBLAwyPC7ifjq8mQ4yaayIMePE2lgnfK/CFP ASZ69oeasScW5xAGLrGnPdfOdbJ4VstbkOvYMhjVtp8L5119urYAv+2YektJHwTQYChH +S+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U1OmHvn7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s28si2699580edc.98.2019.11.13.15.05.03; Wed, 13 Nov 2019 15:05:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U1OmHvn7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727112AbfKMXAK (ORCPT + 99 others); Wed, 13 Nov 2019 18:00:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:60430 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726564AbfKMXAK (ORCPT ); Wed, 13 Nov 2019 18:00:10 -0500 Received: from kernel.org (unknown [104.132.0.74]) (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 6731F206E3; Wed, 13 Nov 2019 23:00:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573686010; bh=2AmqOHyJ6omnuRzB5myDDOYWpOkM5LXqNgKm+BcO0DM=; h=In-Reply-To:References:Cc:To:From:Subject:Date:From; b=U1OmHvn7yTe0q9tomleg7XpTyaB1EQTLSdnzts5zIBElzVfeyiW+/o/qhv4pW0fkc NnFu6UYR1dbfJ+fcXe6QuRRHfjxPuOcqhYm64O/BP68yIoGBcbu7Maq0YsI8jxMqJI I8lE+eA4bbW2BC0nzBURe2C42Adq3gUOO+YiLgpc= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1995139bee5248ff3e9d46dc715968f212cfc4cc.1570520268.git.baolin.wang@linaro.org> References: <1995139bee5248ff3e9d46dc715968f212cfc4cc.1570520268.git.baolin.wang@linaro.org> Cc: orsonzhai@gmail.com, baolin.wang@linaro.org, zhang.lyra@gmail.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org To: Baolin Wang , mturquette@baylibre.com From: Stephen Boyd Subject: Re: [PATCH v2 1/2] clk: sprd: Use IS_ERR() to validate the return value of syscon_regmap_lookup_by_phandle() User-Agent: alot/0.8.1 Date: Wed, 13 Nov 2019 15:00:08 -0800 Message-Id: <20191113230010.6731F206E3@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Baolin Wang (2019-10-08 00:41:38) > The syscon_regmap_lookup_by_phandle() will never return NULL, thus use > IS_ERR() to validate the return value instead of IS_ERR_OR_NULL(). >=20 > Fixes: d41f59fd92f2 ("clk: sprd: Add common infrastructure") > Signed-off-by: Baolin Wang > --- Applied to clk-next