From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.eurecom.fr (smtp.eurecom.fr [193.55.113.210]) (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 A014F1A726B for ; Fri, 20 Dec 2024 09:01:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.55.113.210 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734685286; cv=none; b=MLKV4FmyfgT+8eGxlm/e1bXd/go681oW2KGqL5SCRLjO+/6wOI1mpTJgtDHS0MCGSQK5cDffirsyFOc96JZn+WpyfCZ+YbyeK6sJFjr6m6iYmrfy0yO2h9xGcWeFjf7BZnU2d0+vVNAwRkb0iOrIjSfjhGgEFt/SbVG16V5WfHE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734685286; c=relaxed/simple; bh=3cDZTH3cvRhkQzEcJFEiStos4UDvJ0eUCTYXRT9Ws1k=; h=From:In-Reply-To:Content-Type:References:Date:Cc:To:MIME-Version: Message-ID:Subject; b=knbjVsezM94rtefWMnnzcepffZuJGaRYlwOaZFJBB3K02d5ZmSc0F/YPm4v8y3N26mx4f4mFrng/gWhrf/jjtUZAZNeQ1ll1UPPvXdbY/NR8ZgBzB9sOKndjugjpMBkP36TNEWzr6kdpuTqaGBLQCxKIu9ICKSaj1oe1vqCGkz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=eurecom.fr; spf=pass smtp.mailfrom=eurecom.fr; dkim=pass (1024-bit key) header.d=eurecom.fr header.i=@eurecom.fr header.b=PQoj6y8l; arc=none smtp.client-ip=193.55.113.210 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=eurecom.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=eurecom.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=eurecom.fr header.i=@eurecom.fr header.b="PQoj6y8l" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=eurecom.fr; i=@eurecom.fr; q=dns/txt; s=default; t=1734685283; x=1766221283; h=from:in-reply-to:references:date:cc:to:mime-version: message-id:subject:content-transfer-encoding; bh=3cDZTH3cvRhkQzEcJFEiStos4UDvJ0eUCTYXRT9Ws1k=; b=PQoj6y8lfAo3RyAx4harLDs4E5XPtK12lh5i4yXMoB+XgKoPg6Pb3FZ+ lNjm9/FYl+wFxnTxQWwbb/9f54jM4yV8VM+BPb7mhj4LDPhWuqhs09k5J O6wDBJn6jLHJ9Pfv7vuJ95Hqn0emAIOXO/CaFlPgJ9NmYavVwuQ5yt8kP E=; X-CSE-ConnectionGUID: iv3DghtwRHS6pJQXUjVQ6A== X-CSE-MsgGUID: rgbF/hAgTNiEl2a9YjEAiw== X-IronPort-AV: E=Sophos;i="6.12,250,1728943200"; d="scan'208";a="28266625" Received: from quovadis.eurecom.fr ([10.3.2.233]) by drago1i.eurecom.fr with ESMTP; 20 Dec 2024 10:01:21 +0100 From: "Ariel Otilibili-Anieli" In-Reply-To: <2024122052-laurel-showbiz-4d7b@gregkh> Content-Type: text/plain; charset="utf-8" X-Forward: 88.183.119.157 References: <20241219092615.644642-1-ariel.otilibili-anieli@eurecom.fr> <20241219224645.749233-1-ariel.otilibili-anieli@eurecom.fr> <20241219224645.749233-2-ariel.otilibili-anieli@eurecom.fr> <2024122042-guidable-overhand-b8a9@gregkh> <2f7a82-67652e80-9181-6eae3780@215109797> <2024122052-laurel-showbiz-4d7b@gregkh> Date: Fri, 20 Dec 2024 10:01:21 +0100 Cc: linux-kernel@vger.kernel.org, "Jan Beulich" , "Andrew Morton" , "Andrew Cooper" , "Anthony PERARD" , "Michal Orzel" , "Julien Grall" , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , "Stefano Stabellini" , xen-devel@lists.xenproject.org To: "Greg KH" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <2f7a83-67653280-a2f5-5cf12280@54008765> Subject: =?utf-8?q?Re=3A?= [PATCH v2 1/1] =?utf-8?q?lib=3A?= Remove dead code User-Agent: SOGoMail 5.11.1 Content-Transfer-Encoding: quoted-printable On Friday, December 20, 2024 09:53 CET, Greg KH wrote: > On Fri, Dec 20, 2024 at 09:44:31AM +0100, Ariel Otilibili-Anieli wrot= e: > > On Friday, December 20, 2024 08:09 CET, Greg KH wrote: > >=20 > > > On Thu, Dec 19, 2024 at 11:45:01PM +0100, Ariel Otilibili wrote: > > > > This is a follow up from a discussion in Xen: > > > >=20 > > > > The if-statement tests `res` is non-zero; meaning the case zero= is never reached. > > > >=20 > > > > Link: https://lore.kernel.org/all/7587b503-b2ca-4476-8dc9-e9683= d4ca5f0@suse.com/ > > > > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") > > > > Suggested-by: Jan Beulich > > > > Signed-off-by: Ariel Otilibili > > > > -- > > > > Cc: stable@vger.kernel.org > > >=20 > > > Why is "removing dead code" a stable kernel thing? > >=20 > > Hello Greg, > >=20 > > It is what I understood from the process: > >=20 > > "Attaching a Fixes: tag does not subvert the stable kernel rules pr= ocess nor the requirement to Cc: stable@vger.kernel.org on all stable p= atch candidates." [1] > >=20 > > Does my understanding make sense? >=20 > I'm confused, what are you expecting to happen here? Why is this eve= n > marked as a "fix"? >=20 > > [1] https://docs.kernel.org/process/submitting-patches.html >=20 > Please read: > https://www.kernel.org/doc/html/latest/process/stable-kernel-rule= s.html I am, Greg; thanks for the heads up. >=20 > for the stable kernel rules. >=20 > Again, you have a "cc: stable@..." in your patch, why? Removed stable from the thread. >=20 > thanks, >=20 > greg k-h