Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1734966rdb; Tue, 20 Feb 2024 05:41:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUs7n+m61q+R5E6m44WY2sAj47zCxXx/ynikz78lYsW5nwPD1OluU0kYA5OiPnWxWe/atsehzt5nPmih+eEM4EKg7XcLkIMym526zSAjQ== X-Google-Smtp-Source: AGHT+IGlsWBvcE1TwUESu5vrKNNW7Py0OfSDp+f/Ealm6JO9AynW0LlVf8z4HTjNkpBOVGx0/Bvf X-Received: by 2002:a0d:e8c7:0:b0:604:3f64:48e1 with SMTP id r190-20020a0de8c7000000b006043f6448e1mr15473253ywe.5.1708436463902; Tue, 20 Feb 2024 05:41:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708436463; cv=pass; d=google.com; s=arc-20160816; b=xwlCOll1H6/Hn5kySicsGSMDaKUz5yFuvLQk+Bbzj30csr3DZ/jgaUGxgWSSpWbaZT 1SjogoqrS8/E3ZYqB3AwSYA8SfydGXb9EINwXuSJcwlN8aEC9SVC9iXY8YEw0wIwgyK4 HbzS10vun9Ncx+/6arR4Jecfcjx/PQ+hUBAirRtjMdlaZyNrBfgECdiXc4RaJP/skFBB QaiUj3nvf8Xmm7bA6OdkCShUcNGofRUMb2g/WmRcqbXZWTdJAG8BeBn2VBBK8/D+MMVs tw2GI1y1iIQHLppm9IbssZYLvy+7Q+vJeSU+wLPcv2yntWpclFniS4T8rfd5+LIDifWU XxnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=d8ICvpm5tk8la/LN6aS8rqEzp0XYY2kLSkESE+RiYz0=; fh=nQgbTlqbYxOd6UAIGtbNPYBLTwlAn0IiCgKKsXvppIo=; b=nu7klBNQPK6b+Wcokk0pR8LnCZLCPrsP+PiQ080BHgf1vOr5kXQmYcYO27rL19D2i0 YIu5EHTINxsjbLmm3cbvUR+54g48m0qhcyuj1/EJdkCfhFRuaptfj86LceBb4UBYoeTU 6MakDdfXiTXxkZ7F/kJ0yILPkupSH6Jlhh+cwCSYqACI5qqsjjlKAZ+lXJiwiXHBkxk/ vjPbgV4fpMC0ebYjwzSo1XG8ComEoKQF2JFYsX8OlvaX5piM/fUfRBkMECAFz4p66qOp 8tYx1vd+j74bKHk7K7t6K7wVGCYLa3j1VCB+y/5DUqSwaCTuP++QIWxUlbTAVxZwMJ+L Ulhg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m5xi02OP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-73088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g20-20020ac85d54000000b0042c6795e695si9360908qtx.217.2024.02.20.05.41.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 05:41:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m5xi02OP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-73088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 A31B21C21D5A for ; Tue, 20 Feb 2024 13:41:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C11C36A8BE; Tue, 20 Feb 2024 13:40:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="m5xi02OP" 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 E03206A33A; Tue, 20 Feb 2024 13:40:38 +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=1708436439; cv=none; b=BOBFT5YRHggYZsoegxpqyFY9oDZF7Nqf0m45PQwXjO8bV+/jXOYNpZ1qZ8GHzk62NChL+7aoHGMSBIpIkrvDZgySbGKNnc9CU0sATCgHdXyh4FMmlSswqjkuPY2tmWWkL49keRVkNK77XPKgLcXflsSSyqqgJugXlGJUi/yIHUo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708436439; c=relaxed/simple; bh=WmAdOGNAxzm/Hmb9VmLy8HxLcULwI+z1Va4VFS0tBBI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oicpMVJGFyybs/IPHBytiBzkXgez4oefOBPooAyvtb5WGxjmbfAxAmiP/yqmucXXPOdGbFH167XqOiHx7Sjmj5FmYZoq9CB0ghPeAHByiEfpVMlLQoMvHlJFaTBYeHUKVGKvRZwgGnzJFU37iaeOKBpUBrj7cFPA24RmRXuukoE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=m5xi02OP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31BD3C433C7; Tue, 20 Feb 2024 13:40:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708436438; bh=WmAdOGNAxzm/Hmb9VmLy8HxLcULwI+z1Va4VFS0tBBI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=m5xi02OP7/jZ8fKGmbZluNIUF0zr4Lpb/grZBUa6ixhJrNljZdL25pObvUDvQ4jyU a9KiRZ/xYR7P9M76dX2yBYznM4skiS7KuvTedkz9rOFjzKQ3AUy7lTAOqaAtMIrFgq zY4EqWK/2R5+cYdVhoP/BEMayamVkBmWOFpw4QV1ODRwc+vVArcehRbBNLw7g1GS67 NoMQo4PDST5ANBJL+pvxjfSmkd8XgonYr2eIOcO0zK9j3bHgfPRnB+Qxf6n3L76Z6u STp5OL2BEUSgWd/ob2UnOxszHynN9iG3ezXa5pQTQvlbXLhO6IqUAvVUJLQ8JoGs6X fMllqnLyBjTAw== Date: Tue, 20 Feb 2024 13:40:34 +0000 From: Simon Horman To: Oliver Hartkopp Cc: Daniil Dulov , Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Jakub Kicinski , Kurt Van Dijck , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Subject: Re: [PATCH] can: softing: remove redundant NULL check Message-ID: <20240220134034.GM40273@kernel.org> References: <20240211150535.3529-1-d.dulov@aladdin.ru> <20240216172701.GP40273@kernel.org> <12cd0fd0-be86-4af0-8d6b-85d3a81edd2a@hartkopp.net> <20240219170038.GH40273@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Feb 19, 2024 at 09:37:46PM +0100, Oliver Hartkopp wrote: > Hi Simon, > > On 2024-02-19 18:00, Simon Horman wrote: > > On Fri, Feb 16, 2024 at 08:47:43PM +0100, Oliver Hartkopp wrote: > > > Hi Simon, > > > > > > I have a general question on the "Fixes:" tag in this patch: > > > > > > On 16.02.24 18:27, Simon Horman wrote: > > > > On Sun, Feb 11, 2024 at 07:05:35AM -0800, Daniil Dulov wrote: > > > > > In this case dev cannot be NULL, so remove redundant check. > > > > > > > > > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > > > > > > > > > Fixes: 03fd3cf5a179 ("can: add driver for Softing card") > > > > > > IMHO this is simply an improvement which is done by all patches applied to > > > the kernel but it does not really "fix" anything from a functional > > > standpoint. > > > > > > Shouldn't we either invent a new tag or better leave it out to not confuse > > > the stable maintainers? > > > > Hi Oliver, > > > > sorry for missing that in my review. > > > > Yes, I agree that this is probably not a fix, for which my > > rule of thumb is something that addresses a user-visible problem. > > So I agree it should not have a fixes tag. > > > > I would suggest that we can just change the text to something that > > has no tag. Something like: > > > > ... > > > > Introduced by 03fd3cf5a179 ("can: add driver for Softing card") > > > > Yes, but the "Introduced-by:" tag would be an optional tag for people that > like blaming others, right? Yes, That does seem useful to me. > IMHO we should think about completely removing the "Fixes:" tag, when it has > no user-visible effect that might be a candidate for stable kernels. It is > common improvement work. And it has been so for years. Likewise, that does sound like a good idea to me.