Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp604538pxb; Thu, 15 Apr 2021 02:06:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkmnxVtSCOTLPlR8q3SjVYXs6nfix/2SBwK47NFsuqYtqDXKC/E3/yWPYkV8T+WtvuEgKJ X-Received: by 2002:a05:6402:1bdc:: with SMTP id ch28mr2857621edb.202.1618477574518; Thu, 15 Apr 2021 02:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618477574; cv=none; d=google.com; s=arc-20160816; b=Hbsu0NGamPwdv+9xH5bCCRLBnBEXSv6JKfzPRPw+oAWMMky8h3BzfIQpRtMKCJ3X9I 2D9u2ePD0mrZxQ9MPDLu+X+bUbnVE6pPW+ZxogqnXYQbrutj9Oty79RP4QVs3PPXK7W+ YRq6arUBqoEGt0qha2jQhLXcmcDvYcCq7Gc0mBxQFzXns+h4boi5JIHf4fherKaNcbYv f+aGTvbmZwLSGALhYv7BAKbkpFiz4W6mHN8tk65Il88FmX5dOwFTsxWV5F9chDziU/Js zvFU44FMQ9awx17u3D6ORYFnSZslaDoq722AqQZuacndQC6ddXMvG0ZfGCYbSoOm9AtK mtDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=L/jX2dU8GbBG6C/powtVDdwoVohTeohptsx7OYszB/I=; b=hgjdAH4tyxmOXwZNb8/NSyeYQeycqTC6tvPx3Ymk4OinANzpGTVostdd61V2FBgbpg P+FjADRlPPJW3TR7AQGaytLGlyoJs70UI6LFTCh2/FS13NT1o007+Zj5J3JDj0KVQ7dd Vl9ZoCXpkQJsbb+RheudJhSOq6znpxClSroh0MZLgIjzvp4RFsBX5Q5eNAqiOfA6AnVY Ih+ArstP7OnSMRyTt7rHrJTo6yOzrp0n19yJjfWomaSsGvFgM8UdgPKu5mBv0wvEV+0K i8cUNp7yOR2i07ju39045r9/DGA8MKpYdw9CEvYtpl5FQglwUJYqpO8D5low+2DsZb2q KDxQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zm17si1844298ejb.350.2021.04.15.02.05.51; Thu, 15 Apr 2021 02:06:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232018AbhDOJEp (ORCPT + 99 others); Thu, 15 Apr 2021 05:04:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232014AbhDOJEo (ORCPT ); Thu, 15 Apr 2021 05:04:44 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 183AEC061756 for ; Thu, 15 Apr 2021 02:04:21 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWxv5-000169-KF; Thu, 15 Apr 2021 11:04:15 +0200 Received: from pengutronix.de (unknown [IPv6:2a03:f580:87bc:d400:983:856d:54dc:ee1c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id B209860F2DC; Thu, 15 Apr 2021 09:04:12 +0000 (UTC) Date: Thu, 15 Apr 2021 11:04:12 +0200 From: Marc Kleine-Budde To: Colin King Cc: Wolfgang Grandegger , "David S . Miller" , Jakub Kicinski , Vincent Mailhol , Arunachalam Santhanam , linux-can@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][next] can: etas_es58x: Fix missing null check on netdev pointer Message-ID: <20210415090412.q3k4tmsp3rdfj54t@pengutronix.de> References: <20210415084723.1807935-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="szmpbpc75mtqb4hx" Content-Disposition: inline In-Reply-To: <20210415084723.1807935-1-colin.king@canonical.com> X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --szmpbpc75mtqb4hx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 15.04.2021 09:47:23, Colin King wrote: > From: Colin Ian King >=20 > There is an assignment to *netdev that is can potentially be null but the > null check is checking netdev and not *netdev as intended. Fix this by > adding in the missing * operator. >=20 > Addresses-Coverity: ("Dereference before null check") > Fixes: 8537257874e9 ("can: etas_es58x: add core support for ETAS ES58X CA= N USB interfaces") > Signed-off-by: Colin Ian King Looks good. Applied to linux-can-next/testing. Tnx, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --szmpbpc75mtqb4hx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEK3kIWJt9yTYMP3ehqclaivrt76kFAmB4AYgACgkQqclaivrt 76lQ5gf+MVDfgP/lHzpBKIj8U4d1CJ+Hb2cUtI+HcxDsNqc08ZCbsoiWhze1E0df W4Hv7r7oN5RtUpsmM5hF8NV1jwjR3/buD6AIaTTMYWLOLm0QU+o/W2uKydBy1M9y ythlIG/6MN132kMeNLk7iHfXzT4jHCrVouq1kNVGZBwch+ljGCYw+1LJ5WwCutvh PP04dZZF/9EmYX10mWgmor6bMcD5tCPGd4P54sYsGuN6KV0pZiCWK2H2xqpi8sPW K3yWIPUnrI3RGqwmwAq/0v+JHi2rpipNvEUKz6+t326FhQcE6vy6oQ71pfcHM3Vk FN2fr4XDZLDEqPIe3Sl90lCNwKWhBA== =NznM -----END PGP SIGNATURE----- --szmpbpc75mtqb4hx--