[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1d1be6bc-d0bb-7bfa-803f-c220c7492791@gmail.com>
Date: Sun, 22 Aug 2021 11:07:29 +0200
From: Florian Fainelli <f.fainelli@...il.com>
To: zhaoxiao <zhaoxiao@...ontech.com>, f.fainelli@...il.com,
rjui@...adcom.com, sbranden@...adcom.com,
bcm-kernel-feedback-list@...adcom.com
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: Fix return value of bcm_kona_i2c_probe()
On 8/16/2021 10:37 AM, zhaoxiao wrote:
> When call function devm_platform_ioremap_resource(), we should use IS_ERR()
> to check the return value and return PTR_ERR() if failed.
>
> Signed-off-by: zhaoxiao <zhaoxiao@...ontech.com>
Acked-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists