Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp592748lqp; Fri, 5 Apr 2024 03:10:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWykO+a0Wo5EQmCAClbVPO1rozmTUtkY5IjT7vAuN6wq0O7lmbDFUPkEY9vzmrWOqPfyfXMQnlqJyv0N8Am1Z2Gsl7zpqdw+AmErs0dFA== X-Google-Smtp-Source: AGHT+IGN0ADkj1qQXuBpxWGBXc012AHFdTpSMstgx6FKxJS5zTGX7Zv+JHTFlgkiuQjJS3oTRovU X-Received: by 2002:a05:6102:f13:b0:479:d751:7c98 with SMTP id v19-20020a0561020f1300b00479d7517c98mr1199388vss.18.1712311810360; Fri, 05 Apr 2024 03:10:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712311810; cv=pass; d=google.com; s=arc-20160816; b=J2WZESJDK6snZCubXHw5yMIKvYfTCiLd5Fwfrew5w3TdyDycrIzQv7r3f9oARlJ/4A eowymqv5gyntbXuDyoCx+Xo19wM33TRgR0lTu0/54DTKVYnCQJlIgJB7NqFM1iqLQ0/3 DVj2h2r7RI96A4g9RmnbaNmlz9t4DuiPKrEDabGWpAOiThSIP11K8NDCLQ2SRSlBwDq5 uKSoaTOgQw4aWYOtBQblDaC5UdK7DM5L8eBxeDiVJ6oZplG3U5rhNuZgmxzNqw37pgA2 pprZ++BEY0BwrSN0xl49aVwtgiklDahH1VIyU8aTeNWz4lzGurzH34hIh35Gs/G8e8P6 JAuQ== 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=lX8/N0fNHYX/BeEhvxQZ/IzH3031TTC2ANxpdaAT/zo=; fh=5W6QPgptE3F1tdocAFC9k7pSwHeTlq4BfFJgdQ5vzYk=; b=HkKtJxbhz3bf3wws/uqzWzeNJfqXSzpfwOG7l+n9OxdqiHmvIwTstfFhVnMiGDjQfp XI3V/zN1r2I8Kpgt/FpSeygJnzZb8r5Hiaq5X3uYo5+i7ZWFp/qZh9HkuBALWT8DFTHG 39bcpVZTAKgPEgYm51MupyBGARlEZrUWeRvhBUDsl3HcWdNz6Z48TNCWa6fzEKkZ1arn C6fyNzwFH/hD+MUekhoe9oqjGS7+a+/NaP/U/eBzqZEB9WIIj9QUavCumot8mTjt1D2S +XRoXECAEQt6M0RMyJAGFov/26xaOa67KdYd7MZ8SoCppUcVepaxCT+2N1TZCPxPcBYW znIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GiHp6HYk; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-132795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ef8-20020a0562140a6800b006993933e450si1345652qvb.471.2024.04.05.03.10.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 03:10:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GiHp6HYk; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-132795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132795-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DEBB81C20D49 for ; Fri, 5 Apr 2024 10:10:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 773BF161910; Fri, 5 Apr 2024 10:10:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GiHp6HYk" 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 8555F15FCE0; Fri, 5 Apr 2024 10:10:01 +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=1712311801; cv=none; b=scppUemjeOEAlXKcm68SAH1TU5F80knb48Kej/DBVDXhbw2sJ+ALkEFEG8C7I1HcK1UYao0IcrC9qlfAG8XAtTcyxL8GOlSGVdKLaOAnPX3Nttyg3GlnS4+ViKbfQPRXgqi/cIPUgbGX/ud0WXogUoBtvu0PlXbytpaM5unMDq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712311801; c=relaxed/simple; bh=ix0s/bluTe6gLu0m77aaguOcqppxByEHmYUIwuPl+Wo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jewPfMlP/bRGzGCH0m09gZ749TCq5nplCiThdMGbuCc1S8GRb3LP+9vSuiooU3nFq/zHUlIwWNVeUVHbtnoCDc6eT0eA9yPBWkdYz7Q8EliHWWz8tL//fW4VeQUvOTNL1lg9MceLIZzuiMYHUQ08MyKXe9+eCvNVMXRhyvuOZV8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GiHp6HYk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F0D4C433F1; Fri, 5 Apr 2024 10:10:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712311801; bh=ix0s/bluTe6gLu0m77aaguOcqppxByEHmYUIwuPl+Wo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GiHp6HYku6CxT/MWuytSUrypoWCMit0na8GMfPqJKZeD4O+/wZBIFOhL3vXQxVjeW xLdeYF2RGmTWOZKj7OaJSsGDcNsL1CPU0wNq/95hmjkB3kMFZmfzms/tNA2wZw1GDI L1F+MvH7GZM9j4brRjKbNWtl5+fUssEcfakizY54= Date: Fri, 5 Apr 2024 12:09:57 +0200 From: Greg Kroah-Hartman To: Markus Elfring Cc: Shahar Avidar , linux-staging@lists.linux.dev, kernel-janitors@vger.kernel.org, Andy Shevchenko , "Felix N. Kimbu" , Hans Verkuil , Rob Herring , LKML , Dan Carpenter Subject: Re: [PATCH v3 5/7] staging: pi433: Remove duplicated code using the "goto" error recovery scheme. Message-ID: <2024040546-crudely-demanding-c13a@gregkh> References: <20240405074000.3481217-6-ikobh7@gmail.com> <12a5180c-fbac-41dc-b1bf-9eded9d8c5ed@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: <12a5180c-fbac-41dc-b1bf-9eded9d8c5ed@web.de> On Fri, Apr 05, 2024 at 12:05:56PM +0200, Markus Elfring wrote: > I suggest to use the summary phrase “Use common error handling code > in pi433_init()” instead. > > > > pi433_init had "unregister_chrdev" called twice. > > Remove it using goto statements. > > How do you think about to use the following change description? > > unregister_chrdev() was called in two if branches. > Thus add jump targets so that a bit of exception handling can be better > reused at the end of this function implementation. > > > … > v2->v3: > … > a seperate patch. > … > > Would you like to avoid a typo 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