Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp407225yba; Thu, 16 May 2019 02:54:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvGPe2En46L7158s0D6wyVi3Q4zrkcnenCAWOSJo/+oFf51vMeUfNH3zheI95hmuivIZlD X-Received: by 2002:a62:117:: with SMTP id 23mr24167701pfb.156.1558000465150; Thu, 16 May 2019 02:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558000465; cv=none; d=google.com; s=arc-20160816; b=mONgnS59K2kw974aQcniXz6/mRONRGqmnRGiebkOC24+UsWQAp0gdUosx9xZ3OfA2l aBzhrV7oFGlR2vAt5V9PUog9DgiFni+bNHCLPMk1/AIqaVLT35zYWYk6LHZ2E9xodJl6 7aoHx/EQ8Z3+6XQ7BlFOHI+s8odCsFx2KdinkB6lsXqdBD8CgtaaNjtK9O6p3XB1/uH3 GfED6Nd0XNkSqyg5Z8Bnc1cI0ldxAhlfErUh/gqs1XaaHeAIxvqMxkEznRJB21xLI97+ DgLaxuefQe63ynXJss6jqFXu7q1GQ/FV6B3IrxfW0Q55zVfZ0wsHZUPv76Nk7y/FEx64 1dnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=c/NBuWWZd4GyOvb7I7QglGhxqPLW/siTEQ2OiVvxGgc=; b=HRfHbb4vMlE8WH9tohEIQAUlMOqhMgQOr5c9VMETgULptEhWUkSB5QtIvIpQpPxF4M HHkrURUQHTaIOmntJ3TsdaT7BL6wEGzZ4qs9GF/z0/mRqlUOtfRJzQHiDwBwHwnlz4Id U+Ql98Meaotz/dIrBXj24o8vDostfHrOwblzCszt3zka9/QSYxkVIgl4CIpu5VEoNrY2 3cNC7MRN2RAFbPsCm1JEGPjEyBYSNKRmNsvebsFB9LfqN+ranuCTcGuab0xvQ1BpXCLn 6QJKnS8j8RtkX4K8l3iqbWYSepsh5omkRYJZpWZ3LHLSCsfr4gS+BcO3sTIUgCzeJDLI ELLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="o/E7kp80"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 205si3850181pfw.107.2019.05.16.02.54.10; Thu, 16 May 2019 02:54:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="o/E7kp80"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727105AbfEPJv7 (ORCPT + 99 others); Thu, 16 May 2019 05:51:59 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:38698 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbfEPJv6 (ORCPT ); Thu, 16 May 2019 05:51:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=c/NBuWWZd4GyOvb7I7QglGhxqPLW/siTEQ2OiVvxGgc=; b=o/E7kp80rtZdglpp+KyVcjjmd 5Wz3qP8eDNxCIUlcBvuyWcFYqOds6ruU7a3BH+ijBlOLUQzIunOBYqJS7TdO9vCS8w0gDcJ4Olj0A Ptql52sVsabI9E+mpApT1nwl0LJsqAzLSwTKSNNtB9LHEjFLoG5USz2rW39OhloNGVoQs=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1hRD3H-0005zn-Vq; Thu, 16 May 2019 09:51:52 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 2C1221126D3F; Thu, 16 May 2019 10:51:48 +0100 (BST) Date: Thu, 16 May 2019 10:51:48 +0100 From: Mark Brown To: YueHaibing Cc: axel.lin@ingics.com, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, albeu@free.fr, lorenzo.bianconi@redhat.com Subject: Re: [PATCH] spi: bitbang: Fix NULL pointer dereference in spi_unregister_master Message-ID: <20190516095148.GA5598@sirena.org.uk> References: <20190516075656.25880-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <20190516075656.25880-1-yuehaibing@huawei.com> X-Cookie: i figured 17G oughta be enough. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 16, 2019 at 03:56:56PM +0800, YueHaibing wrote: > Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1ubuntu1 04/01/2014 > Call Trace: > dump_stack+0xa9/0x10e > ? __list_del_entry_valid+0x45/0xd0 > ? __list_del_entry_valid+0x45/0xd0 > __kasan_report+0x171/0x18d > ? __list_del_entry_valid+0x45/0xd0 > kasan_report+0xe/0x20 Please think hard before including complete backtraces in upstream reports, they are very large and contain almost no useful information relative to their size so often obscure the relevant content in your message. If part of the backtrace is usefully illustrative then it's usually better to pull out the relevant sections. --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlzdMrEACgkQJNaLcl1U h9Doewf+K76sAzp7td0Y2CoC7hSukwmSOre0w2Wt2EXD6tsKKYSDOVdYgV8I/xEY hNSGzI1Z/lZd4czcoBu4WlQrmLvd1vO/uw8XdAza+8HmuHmDrm71RWKgKkhTzEev Fz0TwZv2QM4GsFXE42n8ho3HN50etes/tfDNTckilFDzHH/op40t6xC8s15aI3Fx CXX/sVet6R3DFfe0vIl14uVPvc9jCghKiYl3I0Ot5Al5AsbCARstc5Luoh+Z7BgJ o1kytR5QrZU16e2MW9DF6rYOCvwcbMA7tTFyjB82syRu3O6H2MN2U5h9dK2iPKiQ 3KFKnJq5BgFlau9haZKJK4/Fc5/4Cw== =D/EK -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--