Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp702011pxb; Thu, 15 Apr 2021 04:44:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5QDdvYgYs5Em3Xaclepn7zlVy8OQ/cCTkBCecW1Ie2M15y+L+hEhYZXUklZQO6eIIhSo8 X-Received: by 2002:a17:906:80d6:: with SMTP id a22mr2951819ejx.277.1618487045927; Thu, 15 Apr 2021 04:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618487045; cv=none; d=google.com; s=arc-20160816; b=Vq5ZW6KWCtu55XrgJl1dfDotnWhji5L0n9S3SH45LKTb86CePbkZVX8i9ew8+xFAh4 8Mhezqv5mUGLWloq4w2FByb68KSKLNun7HzSPt4ZyBOzXTicOU7ijDrEUX/S9/QoTPeh Z/obrLOoSmJsJ3G+SaHVgZJKoqbHu/Ifmy9bxJojGcmfbSps9veqjY3R4scO+5+/TeWb qxTtTdf2IV2ZMm7sUUr8lmyVgeyVb9F5JPgPnfM4cQ+jY6u/8ASoTLw7SFUmQZCz9/Lr R8Nnm5nEnnSlK2FX4T2JBxbExQDlAvSIqWbjzZYa39vDBiEIaX/zN493lABdKmXKx+lT tmAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=I5b6XAHxeefLRvPDk8t3YKHG/hquBKc6aBz1bhGKFzg=; b=fiEG/Kxn1nY8JJJVto01alvD7RRZ9+O5tXB9apSUBm1rj5YsCxijQMT3zkvCL429f2 EhVgtT4n7ecnvWw0fPSasfLoZEACSKBh9bLi3zI2WxfY0poiNHp4Tg46Rn4oQ5KQiP8H E9XNeeuJTioPrHqzjwvl6BLxdr/bgN/g7CM758jZpSlOGqLZrziDaJ3GVjf4PW1j7+aj 0DLhkJeq4GIUr73jb3l7CVjgpN+mVlfB12qY3f//xkvYXy7GHaGMU/Dm4upm4Rjolhiw w4aEnfzoGmgegeEnI93R2XqqvUnvPtXSFISlf1vv6RXOBWjtbJtbC86SmU/V/8zXA2UG WYHQ== 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 t8si1999708ejy.77.2021.04.15.04.43.42; Thu, 15 Apr 2021 04:44:05 -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 S232626AbhDOLnM (ORCPT + 99 others); Thu, 15 Apr 2021 07:43:12 -0400 Received: from mail-yb1-f178.google.com ([209.85.219.178]:45663 "EHLO mail-yb1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbhDOLnL (ORCPT ); Thu, 15 Apr 2021 07:43:11 -0400 Received: by mail-yb1-f178.google.com with SMTP id g38so25775677ybi.12; Thu, 15 Apr 2021 04:42:48 -0700 (PDT) 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=I5b6XAHxeefLRvPDk8t3YKHG/hquBKc6aBz1bhGKFzg=; b=HDwNv+UsyBKuYBAROKWqE7WKK5QX3sKN7aGINdI124v5zZRroHhRT4BcAoRjtr0eBH Y107LfR/dd8YGjT8YWxTYE0648+SejKFstANP5aU/EfVZn8/FicecAvp4GPr9luXEKHA nBGOzw96GB/b+Rl0jvaHlxUbc2m9+ML8DBbm26CbA8aSQjCAIX2V2jLchHC4D9+XJQ/u aL/hVEpxLYmgbafUQlj82G1BDWjWBEbXuBCwVTwYAB1RrJXhXxLLeDYRBA01yrkabQaw 80H1wZ8+Cno7Ylj9UCn2j2afFC8OhSemnLbyKlQrQJqoWJ3iqZS0vdONywzIK7kaZ8mJ D1HA== X-Gm-Message-State: AOAM5308js4AS3FgYfjehQr+jZngcZdJIt4kHSzsYCLFXUu5AyQsKKrc u0RjgzvpGxuE25Yqd9YoLyLTbK8czpnfIfeEaSQ= X-Received: by 2002:a25:be09:: with SMTP id h9mr3884853ybk.239.1618486967845; Thu, 15 Apr 2021 04:42:47 -0700 (PDT) MIME-Version: 1.0 References: <20210415084723.1807935-1-colin.king@canonical.com> <20210415090412.q3k4tmsp3rdfj54t@pengutronix.de> In-Reply-To: <20210415090412.q3k4tmsp3rdfj54t@pengutronix.de> From: Vincent MAILHOL Date: Thu, 15 Apr 2021 20:42:36 +0900 Message-ID: Subject: Re: [PATCH][next] can: etas_es58x: Fix missing null check on netdev pointer To: Marc Kleine-Budde Cc: Colin King , Wolfgang Grandegger , "David S . Miller" , Jakub Kicinski , Arunachalam Santhanam , linux-can , netdev , kernel-janitors@vger.kernel.org, open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu. 15 Apr 2021 at 18:04, Marc Kleine-Budde wrote: > On 15.04.2021 09:47:23, Colin King wrote: > > From: Colin Ian King > > > > There is an assignment to *netdev that is can potentially be null but the ^^ Typo: that is can -> that can > > null check is checking netdev and not *netdev as intended. Fix this by > > adding in the missing * operator. > > > > Addresses-Coverity: ("Dereference before null check") > > Fixes: 8537257874e9 ("can: etas_es58x: add core support for ETAS ES58X CAN USB interfaces") > > Signed-off-by: Colin Ian King Acked-by: Vincent Mailhol Thanks Colin!