Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1230537lqt; Sat, 20 Apr 2024 06:20:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4b5HgBKfqGs0/fNZlWXE3eVU4djpsG+MrbuU/6dBr5VeiDMPEVNuQwJVpdkQGvrvIUDbrF/C7h34OhnnUKp0RfI0pqritRu29BAYd5g== X-Google-Smtp-Source: AGHT+IENbEuTM7Sxm+uS6LPWf9fwoNcUbFgC3ackWrO4FWLquLMuiZj8x1NQjMrcZQEqoZ995gM9 X-Received: by 2002:a17:902:b083:b0:1e4:3f6d:20f6 with SMTP id p3-20020a170902b08300b001e43f6d20f6mr4729400plr.30.1713619223701; Sat, 20 Apr 2024 06:20:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713619223; cv=pass; d=google.com; s=arc-20160816; b=ofbPM9TXDEmfUo/8l+JGlkJtM3Ikhkwqa84Y2UkMiezL/g+1UbSniHYp5iXlOEn+g8 jafG1EAS7jAmTqRBj4TqO47M17WjmzxFG17Am6NPcJLoRyEe7QWjToLz0KrsLVVR4Zgi kjalZN+G5YgDRxkkp56zf4zCPMBeZI1zKJBBpHOGeDOAmhpbsd6MXKB7LOYvF2J3CdLo vkA1WY97Pr+1GXmNkobmXA0ShDsmEUPiZ/Rapz1/Om04AcDy0nrIczUGl/g+tyvf1G/v j7nlyiJ3DiAB87Owry6jo6S3bqxRdXYI6jh3OPx8XINQA9+jPdceiE/qR3VQfj6P8E0+ G4pw== 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=QPtYp9Z7w5SemAcwH3ryQcxo/20b6oxW9tvpwWdlnXk=; fh=zeXLEHjcu05++W2xPECPEQ1xrwrWgGH4zqijqFVrz7I=; b=Vi/fXtearqJ8njGUDKB1iJaTyXgdIf9eu57K9dgGDKl7s9pDLMYCdycKxAbQdTEJCZ i8vV7Ea5SMlt9mQaNSu6KJXJBIZ5KGWAsn//lG/L3V0kJgRUBUlHeuf8WNstu5d0mbFh dOYFb9KHzpozm09guYk9xTNRvi6+YFYMTmiHlVlPnETijm+UAdawyIqsBSSDeezYpQ+q oHcCCoLTCyAfn8W6DxccnYmP95E+jtwyIKN4zQ9I/gBEomupqXfsYSq2fXy4rOe5Cy/u ITbtaQlUfxFSXD3f+EjXGDGnHWHQqjgD3bFnKskxHjE5KbXrC1kpdYnyEtLnTtdZQtJp gg0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ddEQwPfo; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-152274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152274-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h1-20020a170902704100b001e0be222e6dsi4664170plt.189.2024.04.20.06.20.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 06:20:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ddEQwPfo; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-152274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152274-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 559DB2810F2 for ; Sat, 20 Apr 2024 13:20:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EDE720DC5; Sat, 20 Apr 2024 13:20:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ddEQwPfo" 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 2D7B2625; Sat, 20 Apr 2024 13:20:10 +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=1713619211; cv=none; b=tx4lIyu54wTgGqDvOC/z1xSdVIm1eAcNwzmRt333kKemEOK9CHb8yX8rbwhg+SloIBEy50jwqP29Sazy0vh+iDYcqvxPr6buHOR1l++NFW0qeJJ/EzMNaAZniPQArpdio0ovITLzegetjbYuoC25eCrPsVGZGpo5t+/vSLWCZV4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713619211; c=relaxed/simple; bh=Xlegqb+NHNk2snlw+uC2jpp9KfrY4Egw4o7LZfUbZ8k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YQHmh6QbVIyd3klXlzcKPRZzx7m5/FGn7PCCwGBtUXERJkG18OqgWM4ULj4Yd7WcGM1w2+W9/w6dIrJT0BkE0tOjBuBjVJkXKS6bhb8iKtOR+3vM9ZNoL4E8BZk+0A6btzoQv+imyIUwFNPEWylURWbxOBdutDmVSWq0/d5f768= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ddEQwPfo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 041B9C072AA; Sat, 20 Apr 2024 13:20:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713619210; bh=Xlegqb+NHNk2snlw+uC2jpp9KfrY4Egw4o7LZfUbZ8k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ddEQwPfo0RVLM/2l9o1NRgV0zEEyg2YtVLLLdmfmVJRnVu/vnS4VD9GcIGXo2J+3E 42aGHUgoz9qUto913qpZw2fpevHAk4e9Z7k49K+rItyF+NvgW37ZlODlgUjzIpgIU8 ofH8IOBOozBvdGlLgeJQ8z5ndxfEO5ykrWCxRNa0= Date: Sat, 20 Apr 2024 15:20:01 +0200 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 , Rajaram Regupathy , Saranya Gopal Subject: Re: [PATCH 1/4] usb: typec: ucsi: Fix null deref in trace Message-ID: <2024042056-shortlist-grope-0216@gregkh> References: <20240419211650.2657096-2-jthies@google.com> 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: On Sat, Apr 20, 2024 at 03:15:16PM +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. > > I find that the change description can be improved further. > Is another imperative wording desirable? > > Can it be nicer to use the term “dereference” for the final commit message? 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