From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A20961B29BF; Fri, 16 Aug 2024 11:57:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723809427; cv=none; b=b/9lHRnC8/c4gymUpBmGHGUVAVN2YvH01RL14FZLBwUYdpYGqXWrxTRbfmQhODZGTsYY/hQJ6RkAvD6v/1jkV3xA4wMqMd/l4RrofaqkbE2Ji8bRbfnx9zJElKg8rzAjFdW+B304QFrZ3S36m45bziHGz+7V34MngBPyIpNWd5s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723809427; c=relaxed/simple; bh=sJ7sr5hXNIMPV/I9YvElbTGYiyND24WiN3dkqSxv/4k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=S8XHvktIQFLS+GCHbdo6nSjDDR4BH30yhHWGyeH05Yfbh4SC9quObaXQo+9wwN5T7w5LpEnVxAV+UJVsxT/xuj14WiDi39s648Jh+ma7EAExqgPAtz4rJpdPtCSPUp/U82iLjW6HaKzah4todG2/5RAKTot79w+zG9yzA3MfCQY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uvA1ld/k; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="uvA1ld/k" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B540DC4AF09; Fri, 16 Aug 2024 11:57:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723809427; bh=sJ7sr5hXNIMPV/I9YvElbTGYiyND24WiN3dkqSxv/4k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uvA1ld/kBKMFvx99gG5SXYtHUwxhUWz5LZlJUaSLrQgdo/95LAAMgNwW8kDsGf5eO Yq15mLOX2kpWFL2rAPxgJ4Pftn9iIq5Y3A/gg52MdmWeJjZc0vxniaSOKvMhOoNQeL stKd5Xx8Yhs018YXg407GWzvFNCVhZZoV1gxIYeo= Date: Fri, 16 Aug 2024 13:57:03 +0200 From: "gregkh@linuxfoundation.org" To: =?utf-8?B?6IOh6L+e5Yuk?= Cc: "quic_prashk@quicinc.com" , "quic_jjohnson@quicinc.com" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "opensource.kernel" , "akpm@linux-foundation.org" Subject: Re: =?utf-8?B?562U5aSNOiBbUEFUQ0g=?= =?utf-8?Q?=5D?= usb: gadget: u_serial: check Null pointer in EP callback Message-ID: <2024081629-nebulizer-harvest-2303@gregkh> References: <2024081635-slacking-buzz-acce@gregkh> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Fri, Aug 16, 2024 at 11:16:08AM +0000, 胡连勤 wrote: > Hello linux community expert: > > Q: What is causing driver_data to be NULL? And what protects it from happening right after you check for it? > A: This is a very in-depth question, and I need to have a deeper understanding of the code before I can answer it. > Judging from the crash stack, this patch currently has improved the crash problem. Please figure this out, we can't take changes that don't actually fix the root problem for obvious reasons (and you wouldn't want us to either.) thanks, greg k-h