Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp912430ybs; Mon, 25 May 2020 02:20:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTLkWni7AF3+rSk59Sp3REuO1HKmAWDkijcUkvbiZ4h1xxPBl0ZW7FRd6XPA9UXrv5Ev2N X-Received: by 2002:aa7:c5cb:: with SMTP id h11mr14891789eds.136.1590398431905; Mon, 25 May 2020 02:20:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590398431; cv=none; d=google.com; s=arc-20160816; b=IHXHFUe8IM2ZPUh4kVh4Jj+HYU4M05c7uRTvZwMMy/M8FuXrdJ0+nmXqVlrsWUr2+f y3hWFYoEUqepUYd8b7YpSZjMSoY7KcLdbyySv5OuH6oXPj8tK7y2H2wZkU7MfDBK4YTw PiTEEbYo8LLpZG9f4pwqPoHjZg5IGln0QlarUJ4dhqrtEtOktcbFNk+inoKuMq9DuVLH Uv0AclFUCBUi6dZwpDyIXNqZeNFqSujqIhjiJBIueD6uPH6jaAm1M4VKJXyzajnS8D5f NUKG/yeUFHMIUGWlHyhFZea1OMeN1CqpWPGj+YtIY8RsdJwCLjfLWMt6wrA60UZ83IaS saUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=kO5vtDW6efTPWMJdT/IeulhOhr/Shn99sWBgLzctM/I=; b=djsSbHDmRF66+RqcDpjlIAZd8Bbym6ReeVY2jMLPbp95xCiQ7RYk9ne093xGd9q2Yy h6Ewag9dFL8vEwtav9hls2NDoVpNDhIB0xoAjKFGEUCVgATfRkYYmYHSNWZduf+SlGfi EA4TgXRfLqNuVhOb83EU3B6cB16VD2eqgTJ7HHzwE+E2h83SH1zhHrL2Rm51tjFJtN33 nBIN5T/Ui/uY0QlQFE/9+6rP18y64TM3CgjcKlsO5b7z82WrJl/80PP8QPAgwJkmfPGS X1/5EQyRO9W5eb+hq85v7VFe72pj7lNfYa1ujNdsfsLjjwD3j8moQ8Ag2lNxObQgrT8F 59yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WnOIkPx9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t7si8888704ejf.722.2020.05.25.02.20.08; Mon, 25 May 2020 02:20:31 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=WnOIkPx9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389530AbgEYJRi (ORCPT + 99 others); Mon, 25 May 2020 05:17:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389522AbgEYJRg (ORCPT ); Mon, 25 May 2020 05:17:36 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3917C05BD43 for ; Mon, 25 May 2020 02:17:35 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id v16so19997385ljc.8 for ; Mon, 25 May 2020 02:17:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kO5vtDW6efTPWMJdT/IeulhOhr/Shn99sWBgLzctM/I=; b=WnOIkPx9Iho6akm/1otb3bzxcZJDFFWZUf0ZjYnagW3G3rEtAz/XI2cTG4Lmrs+lh/ uBwn9VGTsCsRHjRxCmEv60TCrrlcOA5JJI3AxviDtqbJ3irKCEL0R27GEnM9uT5hV38f bPQ3nYPD42R4MAlowsgym120v3L/+zSTn1//Guj0XdlwR8QbIwlCJmsXHhkQh3Uh1OzL VFM4s9fjlUaOnjMt6dmVpCM0WDEvzScRcDxUFsq64+kCzT/z0p3pbp+kTWGfnh5Hzh2u i5YHaWguB7kt6FD5BQKe5mirOW+yxm8TZl3lHm3vNw3ouA1OOyDp8ZET5jiVHRtjO2oz luhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kO5vtDW6efTPWMJdT/IeulhOhr/Shn99sWBgLzctM/I=; b=ZDgOizAwpcqYb76VPxz0zVPLRrgpZ1N57Nz4FPg+8aCb1gLTm6/qJb6Jr7FH2TtsxI 8vaarAyW6q5SpnDjJXdkpYvgvfG0lDNdy/AZ7EB9uf7//eYq1uVmdjsVLBgeTaGEDOwy 9CTK9o/Gn5BEZcrgjP6k600Q0Cneau9DuQnrp+vKKDXi+qjygLMeIhAh1DQpEx/NuZoK l7tFPNlTaOb1A1G/5CWPuwwaJ6UjiYt0rvUkwcU9SP8lWl15f65G3iQyIA+YmH1SkILU b3cjkodLhwe/Y8SBSFOIe1IwOS3iyV1wTtRUUuaS+78WjbO3njlha4ER7ZxfedxHC3sW NaOg== X-Gm-Message-State: AOAM531Ve2d3zfAEnnZefcY+BILZ6VIK9OD/GPXHatQZAmuukMxuLbX/ Yasv9PVP0axTKffYHDfA2OEEecvocU5RF27jcp+5mg== X-Received: by 2002:a05:651c:32d:: with SMTP id b13mr2970920ljp.283.1590398254315; Mon, 25 May 2020 02:17:34 -0700 (PDT) MIME-Version: 1.0 References: <20200520032150.165388-1-weiyongjun1@huawei.com> In-Reply-To: <20200520032150.165388-1-weiyongjun1@huawei.com> From: Linus Walleij Date: Mon, 25 May 2020 11:17:23 +0200 Message-ID: Subject: Re: [PATCH -next] bus: arm-integrator-lm: Fix return value check in integrator_ap_lm_probe() To: Wei Yongjun Cc: Linux ARM , "linux-kernel@vger.kernel.org" , kernel-janitors@vger.kernel.org, Hulk Robot Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Wei, On Wed, May 20, 2020 at 5:18 AM Wei Yongjun wrote: > In case of error, the function of_find_matching_node() returns NULL > pointer not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. > > Fixes: ccea5e8a5918 ("bus: Add driver for Integrator/AP logic modules") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun I applied this and signed it off and sent it over to the ARM SoC maintainers. Yours, Linus Walleij