[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180917.080719.588392853959082460.davem@davemloft.net>
Date: Mon, 17 Sep 2018 08:07:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: weiyongjun1@...wei.com
Cc: andrew@...n.ch, vivien.didelot@...oirfairelinux.com,
f.fainelli@...il.com, hauke@...ke-m.de, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: dsa: gswip: Fix return value check in
gswip_probe()
From: Wei Yongjun <weiyongjun1@...wei.com>
Date: Sat, 15 Sep 2018 01:33:21 +0000
> In case of error, the function devm_ioremap_resource() returns ERR_PTR()
> and never returns NULL. The NULL test in the return value check should
> be replaced with IS_ERR().
>
> Fixes: 14fceff4771e ("net: dsa: Add Lantiq / Intel DSA driver for vrx200")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Applied.
Powered by blists - more mailing lists