Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3659883ybi; Tue, 18 Jun 2019 04:36:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfEtVRZzQ/YGoaJQ9F4fEkau2bHRZ9Yphaz5PY2UUMUkpCpt+3pHeYj6mueF4xCOZ9pS/w X-Received: by 2002:a65:4b88:: with SMTP id t8mr2338448pgq.374.1560857795118; Tue, 18 Jun 2019 04:36:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560857795; cv=none; d=google.com; s=arc-20160816; b=R88YUdv214o8YgGKRmIiglG0YRz8GCpXypTwPd2G8F0Yo47TqQJik8b/HDankprXaD +nm7y24mnOljAPD6nP/1cHsXHR5YPmcKbghLXMpi7Xh9Ovu9mLvWuft7ShQDJE/ypn+6 ou4U5jaz+wLXfLWGQg1xGB+j3JW0qktCg+QqBjR+JRd1R7QC22nA0ql5FRtIsgEBE674 TGawe3cvE9f2bMSAyVOiGHoEq3nDZu3YadXEfa1G0SphGVfeE5GTqecW8awkLljaCqQp 8HJBwTIFOPymZ4wei4UqqPSBTbdzQ3NKz10evWZgQsKvpibwNwchhMU6dpK85o9IG+PZ Quow== 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=h+aeRI9gH7Nt+4ScPIMUDC2N/RTKJKeWLRoi5znlh1Y=; b=YdpGVw8tF/L1mQRbeRZVyeuu89N0RQlmH1AIgskiKipQFTZc0Ylg/icvw2zggm5Dyd BY156+KPYOypPz1+sh+krsXxNAFSKaqURz/SjP0faPfqqkT0M/r6T6nznoXzZvIlyEVx Rep98cl1ZlP3ZGWhV9KpVgpcp58W7p2WuAvsGxLlxE2DJwJPAZ6/8qWSRF13J/bK2gSn i3kmmyFhdBivOGJHoRKx7Be0UGc7DSiNnMUC39Anp1QsMdhVhRB0PQiTAy8QBNbhvokw eqA7TuKVYpKOj1qQ6Yt9qX1Llm2CwpGTEyiPaRf6Zh3/zWxaW1Qwa5GC+rfDlUnSL4Lf bylQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TLRAx63y; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1si2117297pjc.42.2019.06.18.04.36.18; Tue, 18 Jun 2019 04:36:35 -0700 (PDT) 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=@linaro.org header.s=google header.b=TLRAx63y; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729725AbfFRLfd (ORCPT + 99 others); Tue, 18 Jun 2019 07:35:33 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:43084 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729681AbfFRLfc (ORCPT ); Tue, 18 Jun 2019 07:35:32 -0400 Received: by mail-lf1-f68.google.com with SMTP id j29so8981321lfk.10 for ; Tue, 18 Jun 2019 04:35:31 -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=h+aeRI9gH7Nt+4ScPIMUDC2N/RTKJKeWLRoi5znlh1Y=; b=TLRAx63y+9/iuvZc7HZ5Bbxji+bKznetpTz81C5NX/1KiBJ9aAh7hg3dPhXc/VEc8E aY7esmunh2x4uJR6Lj5rGAyMm9l3xya0NqT1ZiV5OcFahUE+R/6zQMTNK6dYoAyoK4B0 +Zjq20Tr4tm7P2OxMs6QlGzfzfQoh83i4OLLYlPayMwniFGmsGC1jeTImO55PUgT8JGm v7WQv1qXDvd0wGvXegHvttshDuofrS56yZXvhxD7NEb6XSdyPZ/Wq8iYAyJQmGKJjXfX 91mDzM1+qtDaWYJQPxpyEq11oRDmQbmrQUbQSL80JXqKZkGuyDavULzxsXKi09ToV/hW 0raw== 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=h+aeRI9gH7Nt+4ScPIMUDC2N/RTKJKeWLRoi5znlh1Y=; b=Jm5MzcecXlJ6OhXqBPTRobPjW8RRDc+7GQlVpQ5a9NDLUbnpPKtaQBh3MR46YxahOO dqtHMj6M6GJES+MmE6XptiuZRc6faEHchU2ceBEaxJ58MH60SgNvEM6JvtVrNNPRe3D8 KdLpccRg85g5UvAAr/WdeE2LDF0sp/jqBU5dXE6qjrKohiq2/tOIfxrfCuekZwMhbV70 vWlip3XIkrC6Ruv/dXUAlBI6u7UaVGQqZPmrtU/rxrgHrKC7YuCHeG9JEexHCpJxx9cc mENSABaG6vnoroI3Le9g7HNr6KYffZHfWv/RvFK7mZmPZJFd2l68YM5rDFHTIroaRyLD ADAA== X-Gm-Message-State: APjAAAXdAMLOnmqZAcbrfeDcN4wbw1oY53TPsRW2xtwo0TnFo4z/2kQW 8Hx7Hmbnzz602EgxJexf6BHOIYXEDkINvNjUSwjK1w== X-Received: by 2002:ac2:5382:: with SMTP id g2mr2527640lfh.92.1560857730949; Tue, 18 Jun 2019 04:35:30 -0700 (PDT) MIME-Version: 1.0 References: <20190613070201.GH16334@mwanda> In-Reply-To: <20190613070201.GH16334@mwanda> From: Linus Walleij Date: Tue, 18 Jun 2019 13:35:19 +0200 Message-ID: Subject: Re: [PATCH] soc: ixp4xx: npe: Fix an IS_ERR() vs NULL check in probe To: Dan Carpenter Cc: Krzysztof Halasa , "linux-kernel@vger.kernel.org" , kernel-janitors@vger.kernel.org, Olof Johansson 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 On Thu, Jun 13, 2019 at 9:02 AM Dan Carpenter wrote: > The devm_ioremap_resource() function doesn't return NULL, it returns > error pointers. > > Fixes: 0b458d7b10f8 ("soc: ixp4xx: npe: Pass addresses as resources") > Signed-off-by: Dan Carpenter Reviewed-by: Linus Walleij Can you please collect my review and send this to the ARM SoC maintainers arm@kernel.org since they are collecting a few other IXP4xx fixes? Yours, Linus Walleij