Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2227376rdb; Wed, 21 Feb 2024 00:33:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWfuS0ltffbAcCuJgkUeaDTZqx0qCMzgXHcc0z+qFPPnidXcpFqquwhM2SCGXnud5M/Hw39qvfBqkZuYeqNK7UKqcbbVSvdohSJFdPNTg== X-Google-Smtp-Source: AGHT+IEE9i+y5wpzgtYqP9C5IuvZ9J8HOWEzdh+NmSM31rUqtk0gXz9ZewfngyLrRqVspA3B186k X-Received: by 2002:a25:d3ca:0:b0:dcd:3575:db79 with SMTP id e193-20020a25d3ca000000b00dcd3575db79mr14230231ybf.6.1708504385890; Wed, 21 Feb 2024 00:33:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708504385; cv=pass; d=google.com; s=arc-20160816; b=I1AwJFCuq72Qum5fjSa+TySSn/uXJiUNfJ9K2mJzCCw7gxgZJzGaYDwWSANZRwjx77 /3iKm88hxUcpfbHxEERA0BnyKQj9IHhXBdR6zjqibOn0tQD7M2+aEDr+FGTiAO/s8Zzj gXYni9+KY5mGX6xECzqsedYNZY+7q5isK6QD0nededMmYutLNj0LhGIntATUF1UZNyov oFFitRjeohEXP3ihlcvE2gD/lYrLyYDpcqtrDi9CLpPrw78HR1PYjhTnuS/QIOGSGz59 G8K5p13NZboVFhcrD2Ji4GT8qdJkwJjo2XmMBQ+wl/qEHbWm6Uq+GM6IwVIIEItzhvw9 ix4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=/O0u/zSlutQp0nOXmYUgakHqJLFyHa3N/CYJjeJxzeQ=; fh=THa2Uj0FES4u9pqcVvCaeZN6Z62P0Q7Ht/bFoK6M1jg=; b=WoijoGj5OygTzmBbdsN4JlSkO1a9k8qpjnrAENYRoVeUPrM7h6QNClBzWu9fYvdGxb IlHxQbTPT9M2632IshLpvaMXdytWJdV6XTkUvEupmotVSSAiwp7UZFhhE/1GfAYIKl3y z49rrHJ0wg/+XeWWMyMkoFDPwHHZM9//UI41LEWc5KbHsWB964o5y1MKly8j2904NoK+ vOeT+LpL96dEhujXea6ZcPxvf6kV6pS956168jicmjhLfA2DgGvY+0WIMXO7IRtE5vxs u1RpBwQSY2LW+mMa5TFhiLpmgDk3HBOnjfK2j+iWIbnGWlIYrxTbzNXjiOKbOmANeffZ H/sQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=R7Z6pgaU; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-74309-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74309-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w2-20020ac843c2000000b0042e3d122afcsi222023qtn.614.2024.02.21.00.33.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 00:33:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74309-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=@bootlin.com header.s=gm1 header.b=R7Z6pgaU; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-74309-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74309-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 A4DDC1C2367F for ; Wed, 21 Feb 2024 08:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CCF693C494; Wed, 21 Feb 2024 08:32:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="R7Z6pgaU" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 C9F303BB37 for ; Wed, 21 Feb 2024 08:32:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708504378; cv=none; b=MJy4WOx/JBpz1hqxRFCuQg1oCsrC05XFVd8Xh9dZZP0SryFScr4aJS8obHbirPUGT7SBJYtFIcTvFGgonvgJbRP2Q87wSdb4DR5ruZmoBGwEfUQ0Nzz2N9k/X8gGPC7iPfFDLF6tfJBUcB+oyxdGmi5AEZ+GKZQtE81gBYWbxrg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708504378; c=relaxed/simple; bh=B7JSsIhz2lakrY2mDFlX5ma7aLC+4cAGzWTKeazAoD4=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LilI3dG2H5uYjjXFM3tSTYksqB2NAF0aO6tAkYxsiiqfaTxdBG7L3A9bp1lNLerGIvqlb5cn3G5kvSFRSee7So85VTEHcYiCShiGALMV9hO1vRWVEBs7MQRKgXK9fFjmu+WxakwBzM/8kFkSyAQtoDWvEFsh/a81NjNeqpRF3y0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=R7Z6pgaU; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 3101A1C0004; Wed, 21 Feb 2024 08:32:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708504371; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/O0u/zSlutQp0nOXmYUgakHqJLFyHa3N/CYJjeJxzeQ=; b=R7Z6pgaUldd207hxJfJcnQjh7VprZyrgdZVVzOZbB6x0vAOMbdbRMX70JpaxQ7WoBajaQm GyQ72uUlXd41adHhmdtHzkbKyw6AWW/T2PeaENr5cakObB4lGeT1M35rZA+6oU1bbUQY2H 7YtJ77mRjJrMrzz5wHkcsNfCqmbZECiWhG1yrzYj/lfeau3OEhcbW+IZWcY6tCcZZ1bd06 iGdbOaIWKAXaU9OGQRS565owEAesrfHayisjP7Q1a/s26fLVd67YNq9zjKiiwSHuhLWYy8 gU28y8/BHUnUp+BIOdmhxiTQfcgbjutC3eECAUvNtDpv0nGQbYypfRN8VPShHg== Date: Wed, 21 Feb 2024 09:32:47 +0100 From: Miquel Raynal To: Dan Carpenter Cc: William Zhang , Linux MTD List , Linux ARM List , Broadcom Kernel List , f.fainelli@gmail.com, kursad.oney@broadcom.com, joel.peshkin@broadcom.com, anand.gore@broadcom.com, dregan@mail.com, kamal.dasu@broadcom.com, tomer.yacoby@broadcom.com, dan.beygelman@broadcom.com, David Regan , linux-kernel@vger.kernel.org, Vignesh Raghavendra , Brian Norris , Richard Weinberger Subject: Re: [PATCH v5 11/12] mtd: rawnand: brcmnand: exec_op helper functions return type fixes Message-ID: <20240221093247.5297f1f3@xps-13> In-Reply-To: References: <20240207202257.271784-1-william.zhang@broadcom.com> <20240207202257.271784-12-william.zhang@broadcom.com> <20240220110240.1ad5b995@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi, dan.carpenter@linaro.org wrote on Wed, 21 Feb 2024 09:16:31 +0300: > On Tue, Feb 20, 2024 at 11:02:40AM +0100, Miquel Raynal wrote: > >=20 > > william.zhang@broadcom.com wrote on Wed, 7 Feb 2024 12:22:56 -0800: > > =20 > > > From: David Regan > > >=20 > > > fix return type for exec_op reset and status detect helper functions > > >=20 > > > Reported-by: Dan Carpenter > > > Closes: http://lists.infradead.org/pipermail/linux-mtd/2023-December/= 102423.html > > > Fixes: 3c8260ce7663 ("mtd: rawnand: brcmnand: exec_op implementation") > > > Signed-off-by: David Regan > > > Signed-off-by: William Zhang > > > Reviewed-by: William Zhang =20 > >=20 > > By the way, a Cc: stable tag might be useful as otherwise you may leak > > an error code in a status value (which is a bug). And move this patch > > first in your series so we're sure it does not conflict with any of the > > other patches and can be backported more easily. =20 >=20 > The original commit 3c8260ce7663 ("mtd: rawnand: brcmnand: exec_op > implementation") is not in stable so we should be okay on this. Right. However please send again this patch quickly so I can queue it up before the rest of the series. Thanks, Miqu=C3=A8l