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=-9.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS 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 945C6C33CAF for ; Thu, 23 Jan 2020 19:44:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62B0821D7D for ; Thu, 23 Jan 2020 19:44:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579808679; bh=NlKI/cV9I9R+zyNobBoRtk5osBUM1y9FWZtsBpY8kvE=; h=Date:From:To:CC:CC:Subject:References:In-Reply-To:List-ID:From; b=NPFBqTGJ+tastDSUMfBhguqTm9tcSP7ReWW2Mkw1XDg25HS/w7hEHHFgRvNNZdgat 7BaXJEoMdXCNsL0uGkmNHLXrs77i+JPXrqN77ufVW2f5SzDu+lDNo4AfbCThT7ghVE MPdJKX2lbsNLZg62ZI51tXMehGUI5u4B2LKKI4fE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729252AbgAWToi (ORCPT ); Thu, 23 Jan 2020 14:44:38 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41230 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728809AbgAWToi (ORCPT ); Thu, 23 Jan 2020 14:44:38 -0500 Received: by mail-pf1-f193.google.com with SMTP id w62so2010211pfw.8; Thu, 23 Jan 2020 11:44:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:cc:subject:references :in-reply-to; bh=/tNzB78rHikk6pi7VwlYHiXMtvqtQwB2ELt1FHbIUmc=; b=mOolKALwoRXFVye+bVx4QTz+N2q6rXGNXrNUXFCzRxHW2hJPXRiM4E9vOJackqemi+ IrZvXxmvqIiRq6HymoTVzLr2zmHTxB3ImDHb74/Kb0ifYuJ40v9sNEIcJB5Q4zNYXunh XLc9yh7A48vekwdMBKUDQ91g6xHlHDx8K7kCdtvkV0c6UE5BaJTYqeehrfCPfe07pjO1 tFEpNj1AEC3pB1NMySPDUED5fv7JLzhJXUmFwINMu8YJKTVeroRhvF/HiWG9FYqId0p5 lKLv7I044s2dn6Re67wKgjBp6xtqizCAgGnunYs8WkfisO/ZBFWR+PaM4gF+fll53uKO P/yg== X-Gm-Message-State: APjAAAUxNsMyuNahsXyneqlNCRxj+RmvjUrZi5j1fBuvty8NfMCH3i8R NZtYEnMDtYrPMWKUrVQbQag= X-Google-Smtp-Source: APXvYqw6Rycq9zDnR/J5MasZfexkbcK4nGxtqxz9S+mAhUBs6YlH+I/GKahy8R9Nfo7vFZlsjK/d5Q== X-Received: by 2002:a63:cc4f:: with SMTP id q15mr422378pgi.159.1579808677392; Thu, 23 Jan 2020 11:44:37 -0800 (PST) Received: from localhost (MIPS-TECHNO.ear1.SanJose1.Level3.net. [4.15.122.74]) by smtp.gmail.com with ESMTPSA id 132sm3930842pgd.76.2020.01.23.11.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 11:44:36 -0800 (PST) Message-ID: <5e29f7a4.1c69fb81.6d9f7.9a12@mx.google.com> Date: Thu, 23 Jan 2020 11:44:36 -0800 From: Paul Burton To: Thomas Bogendoerfer CC: Ralf Baechle , Paul Burton , James Hogan , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org CC: linux-mips@vger.kernel.org Subject: Re: [PATCH] MIPS: SGI-IP30: Check for valid pointer before using it References: <20200122131334.21970-1-tbogendoerfer@suse.de> In-Reply-To: <20200122131334.21970-1-tbogendoerfer@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Thomas Bogendoerfer wrote: > Fix issue detected by Smatch: > > ./arch/mips/sgi-ip30/ip30-irq.c:236 heart_domain_free() > warn: variable dereferenced before check 'irqd' (see line 235) Applied to mips-next. > commit c0e79fd89749 > https://git.kernel.org/mips/c/c0e79fd89749 > > Fixes: 7505576d1c1a ("MIPS: add support for SGI Octane (IP30)") > Signed-off-by: Thomas Bogendoerfer > Signed-off-by: Paul Burton Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paulburton@kernel.org to report it. ]