From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84FEBC43461 for ; Mon, 10 May 2021 09:59:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5E923610CB for ; Mon, 10 May 2021 09:59:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230381AbhEJKAY (ORCPT ); Mon, 10 May 2021 06:00:24 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:42416 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230333AbhEJKAQ (ORCPT ); Mon, 10 May 2021 06:00:16 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 96F571C0B79; Mon, 10 May 2021 11:59:11 +0200 (CEST) Date: Mon, 10 May 2021 11:59:10 +0200 From: Pavel Machek To: Yang Yingliang Cc: linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH -next] leds: tlc591xx: fix return value check in tlc591xx_probe() Message-ID: <20210510095910.GB14728@amd> References: <20210406131159.2136509-1-yangyingliang@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WhfpMioaduB5tiZL" Content-Disposition: inline In-Reply-To: <20210406131159.2136509-1-yangyingliang@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --WhfpMioaduB5tiZL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2021-04-06 21:11:59, Yang Yingliang wrote: > After device_get_match_data(), tlc591xx is not checked, add > check for it and also check np after dev_of_node. >=20 > Reported-by: Hulk Robot > Signed-off-by: Yang Yingliang Thanks, applied. Pavel =09 --=20 http://www.livejournal.com/~pavelmachek --WhfpMioaduB5tiZL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmCZA+4ACgkQMOfwapXb+vIBjACfTRZbxh2HT03wyA0AGMBBw+fY sb0AoLJ51XiGDM7QxX9ReUoJrZzUkEQG =yf7T -----END PGP SIGNATURE----- --WhfpMioaduB5tiZL--