Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1345555lqd; Thu, 25 Apr 2024 12:36:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWqy/MaAGZe6NVV0pwBMAHcDGOAsOnhMr7S/c6hFG9JTpkkV+Ba3X+ypV0qnUo3shXPvluO1x6HjBcjmEfgW/X+ofE9LKBpP7wHY1Ku4w== X-Google-Smtp-Source: AGHT+IFCR0ZMZWZJGPhvcz0SJUOpjVdnVbJaCzackxCZPc/EHhZpnPh/KIzyegIfiPBBrCSlG9Kj X-Received: by 2002:a17:906:16da:b0:a58:7e28:b6bc with SMTP id t26-20020a17090616da00b00a587e28b6bcmr517683ejd.17.1714073775375; Thu, 25 Apr 2024 12:36:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714073775; cv=pass; d=google.com; s=arc-20160816; b=yfPeE7V6Y6/9IkxOoDq2GcDgFUNS73CCd07Z4CLVIe3lIel4wreqShrc7OReuph0Wb Kf2bakMLELGgXumtrlzPNXs0k1PDjTGCr91khc080osD9QviL6hMYhE0i4fUo1MJBQbx Cf1mAUBhQMdLnuIGxheMiEdFq0pA3LAsU3UZOaBi4JoP71A7vC2ffQgWXd5yqxJHtokP qKEaNHgW0dEfrUqbuiSwbJgGix0PaqRJxx0XpgNMwwOjrE7WKbE8BkSiAGu7381WZ3cT IAxSzRkcjZFx8/kmXoG41GG+7y/EFq3CJXqAaQbHlA2TSNo8oyawsOFGEinVS5HO6vUS kbbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HqcN+vK094WWCJYlD7eEzsr2gFsMvqqGdTMvPpNNzHU=; fh=juu2UPlAxDjoiKk+L1aaa8JVASFUNwaye6ZpJf+utYw=; b=mzF/I/gOKjbQ6tIyY7Li9y/JLoCiFqgc4afY5YijyEGBMvGWaCbrVD/CkB1ra5yKHz LAgzyjjVP3Xg+NwzDO2TSS8xfhklCsso37IPRy8s8lPi3kBRdNJVITY+dk6p6RqLh78r 73EPf7INkAXswdSaMGdxGlrbTTjtJ90t/SMMVXBGCbQfXsZ7hfWkv/GKBXlYyaXsNZE+ mQIDjnNP6RJH5wfyxPNZZih53Yi82UQjcEhp9jcPfqczITCUMC8cOLVhlJdc+BszQ5fh 6LlZS1pw+3NKCoYlP/nTY27YKpnsygTuzCqLH4+Ge1U5l3ISxjpLSOrCJwanwA8jAjpl Pyag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SBPi6X7j; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-159080-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159080-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i9-20020a170906090900b00a587ba3e43csi4036043ejd.582.2024.04.25.12.36.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 12:36:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159080-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SBPi6X7j; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-159080-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159080-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E24B51F240F5 for ; Thu, 25 Apr 2024 19:36:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 40F5A152534; Thu, 25 Apr 2024 19:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="SBPi6X7j" 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 4676B14B06B; Thu, 25 Apr 2024 19:36:03 +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=1714073763; cv=none; b=a330YUQH1yJzvm1DpdNQUK9Aa2EkgvGJo1GwIQXnCER9hnAqvilidwqCuXJdChc017AnSbeU9LTsN0yECCjJKyxqrimwGkZY+f4R3//91LemfVpj8+Qc9ohRnX8k9MVn9fr29q7hUQt6Lacc1/j4Jff/9ZuwIL2p4qoiioGpGX4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714073763; c=relaxed/simple; bh=3XoAGM27SwQ826jd9GUf1h0gsd40woJCFWyFu1z9JSM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CQFLRCN45POl9UVNQ0vuaSo77oDnveROknvduRIPHpQsaiMnUnBf8WNTNdM5jIHrWGGIhVtcVOw0kskQUnddiiuIaYTpO/Z2scnCg7AZs9uRst3BOP4hvuFhDVInMjKgFa07mB/jXwN67xeummu20UM8JwsA+dueJ0KybVcWVqI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SBPi6X7j; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C083FC113CC; Thu, 25 Apr 2024 19:36:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714073763; bh=3XoAGM27SwQ826jd9GUf1h0gsd40woJCFWyFu1z9JSM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SBPi6X7j3mS1YlotJ7b5PyR7HNJpWtrX4axZQaYWSCVAzbvETHjpFDskeMugy8QT4 9zlvonL4E9oTlrOfzM0rdRb6+3MrU46UkPNnsc4i9zCayVX8sV2j4rntEi7Em52lnK 9Z0TjRUVViu6DWWLRW8OuqcIt7jVvj1loE8/8Ig8= Date: Thu, 25 Apr 2024 12:35:53 -0700 From: Greg Kroah-Hartman To: Markus Elfring Cc: Abhishek Pandit-Subedi , linux-usb@vger.kernel.org, kernel-janitors@vger.kernel.org, Heikki Krogerus , Jameson Thies , LKML , Benson Leung , Bjorn Andersson , Dmitry Baryshkov , Fabrice Gasnier , Hans de Goede , Neil Armstrong , Prashant Malani , Rajaram Regupathy , Saranya Gopal , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: Re: [PATCH v2 1/4] usb: typec: ucsi: Fix null deref in trace Message-ID: <2024042547-shimmy-guileless-c7f2@gregkh> References: <20240424014821.4154159-2-jthies@google.com> <6e028bfa-9063-42ac-b40f-cf17a81c2af2@web.de> Precedence: bulk X-Mailing-List: linux-kernel@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: <6e028bfa-9063-42ac-b40f-cf17a81c2af2@web.de> On Thu, Apr 25, 2024 at 10:51:53AM +0200, Markus Elfring wrote: > … > > ucsi_register_altmode checks IS_ERR on returned pointer and treats > > NULL as valid. This results in a null deref when > > trace_ucsi_register_altmode is called. > … > > Can it be nicer to use the term “null pointer dereference” for > the commit message here? > > Regards, > Markus Hi, This is the semi-friendly patch-bot of Greg Kroah-Hartman. Markus, you seem to have sent a nonsensical or otherwise pointless review comment to a patch submission on a Linux kernel developer mailing list. I strongly suggest that you not do this anymore. Please do not bother developers who are actively working to produce patches and features with comments that, in the end, are a waste of time. Patch submitter, please ignore Markus's suggestion; you do not need to follow it at all. The person/bot/AI that sent it is being ignored by almost all Linux kernel maintainers for having a persistent pattern of behavior of producing distracting and pointless commentary, and inability to adapt to feedback. Please feel free to also ignore emails from them. thanks, greg k-h's patch email bot