Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1641574rdb; Tue, 20 Feb 2024 02:28:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWMIogwR0yHAOiZM0DM3BTzr2rMtRNN7O6JLnk2S/XdxiloL3CEAfnB2xVJcle3lRtDYt1Eu6u87NqxvzkvHPIuCmjYQOwuze0MzSbd+w== X-Google-Smtp-Source: AGHT+IH687G6eugONUG91tY6Lehvd7VWrfWZY9KaT6kGg0nw2L6Q0kACzBZpx3ZffFdR/jd6OSun X-Received: by 2002:a05:6a00:138c:b0:6e4:74ba:d907 with SMTP id t12-20020a056a00138c00b006e474bad907mr3433271pfg.27.1708424925263; Tue, 20 Feb 2024 02:28:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708424925; cv=pass; d=google.com; s=arc-20160816; b=a9E3ymRsk+EPOuYm1NrQRYT904X/PBTe13owaiXm7p3xXmM8NqD7117Tm/C55r/Vfh J60JyJ9UDM3o1E1mLEN0338IzVWwWhEvFy/WQkXzP1jAomwllzKary/d8s7cY+l6AXcZ UBwSLvJESa/WsCGKSCZvzhcxQV5IQv9l+048JEQ7RHHtZTNeL3Wf/5T9X53kH0QMP82S 9KVfFZsaCItCEOmvG68kmDuhCoFHe0WKFgzHZlP3HXh4Das2gIy56rMRQ+Uebjpq1ask yZPbQ2z33pIpxdF6QVsbDAl6Q4/oiapyMqYNtMrXAqKqF8V9nhRvrQAs1cl1zrf7HGTW nYjg== 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=OU8FMr7Q5q2x3lDpUCklLjs9s35Cm98PgP/aUqTmDSw=; fh=lePQlytJxLw33PsEhjcQAg1h99QDpk/Cla1yT9OUfZg=; b=ph3zRzeP7X665nV3lU1rTwXDexXnQx8pF6RaBoajFWsJ6/et36HzT0SZBwkqf2tXRu ocLxXENt3oEUg5zSixcvHMWLvNWvt/KmvYXyueCCg5oO+giq3y1XXr4xAVXb7Dhx8kHn vpBfphy+/eQ8QlxvkmB1GtnpeMvgKGfoOaomhkQHBbuN04bku1G655hJoWV7Kuq0nxo1 4FGHMUYgWv6amBfyvhm/f18vxYzNLS1RROJUc/a6JlgW2gTvmQoYT/8nTmUIWDoIy1QI wSq9dtRafmeAI32FJvVnpa1mp+Tufc98gco5yyPBtEJ1I9fOzlBjwSiKQoSfHpOvOQAg rBPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=QR84FJtA; 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-72767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72767-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id cp11-20020a056a00348b00b006e3f7e38f78si4516894pfb.59.2024.02.20.02.28.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 02:28:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=QR84FJtA; 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-72767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72767-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 380BAB23E23 for ; Tue, 20 Feb 2024 10:03:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C63B6168D; Tue, 20 Feb 2024 10:02:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="QR84FJtA" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 C5A0B61672 for ; Tue, 20 Feb 2024 10:02:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708423365; cv=none; b=PrMgdd2kSEWe5o8fHRGET3ip3f9AS4WGez+nk66YOYPX/+n//6hhxxMrRec/PcHGehwsbnd+06q2UcStLv6NTM23ZkUvGs2QhMT8Gmv2nH3s5MYc4J7KqYU/UyBaiiTVrJVMSAMP7vwsEyVZV7Zkk1xG85dLRxprrmKDPN+gG6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708423365; c=relaxed/simple; bh=iE8v7Akp8zD3ZHvFQ+rUaB+TIDc8Dsr+bACWOI8HrDY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jKE6tMBw4TQnWiiGSKUGQSVP1kBk9IT9QfThgnpnHRNsNrD+sEji0dGO9sLXyuJyjM0KWAzhkOb+FLQQ8cGZB8WJ0Z6jDu59gRvu5Cz4aAvWhaDCrRhfQOKnoYHjXQtsbbdRc620sfOBtUvjR21rl7Y69hRnsRiVCtLeun9nyHo= 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=QR84FJtA; arc=none smtp.client-ip=217.70.183.193 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 23B52240017; Tue, 20 Feb 2024 10:02:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708423362; 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=OU8FMr7Q5q2x3lDpUCklLjs9s35Cm98PgP/aUqTmDSw=; b=QR84FJtAoqfBzPObWL3qzfo5RmdLOqnU0X8j02M9dG16ASIlBlB0uv6CRu8zV3hvvuA/2w hwzdBpEa95NN9JSsW49P/L9Znlnl85g2fgyJBzmf9cmXW3jNjV3N0umh3AJSg9SP3eHx+6 NcZFCdPiN9Z85r+no0G+AYgqTUfGhNiO8wS+p8az6/wnxWYZHQrD+dkkAVRP989rS7yfTj 4zapQkQ1Mcru5SlEoc5yKGfqeDZA8PZfSTIcyCuUy2POUYNohGr9V10LqvWKWZAAr5LQ7o q/AuuzuJcHFRpXjMlmN9i5fBzyGTGChry9WLNAO3mdKZThkiMO2K53oEb8e+/w== Date: Tue, 20 Feb 2024 11:02:40 +0100 From: Miquel Raynal To: William Zhang Cc: 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 , Dan Carpenter , 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: <20240220110240.1ad5b995@xps-13> In-Reply-To: <20240207202257.271784-12-william.zhang@broadcom.com> References: <20240207202257.271784-1-william.zhang@broadcom.com> <20240207202257.271784-12-william.zhang@broadcom.com> 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 william.zhang@broadcom.com wrote on Wed, 7 Feb 2024 12:22:56 -0800: > 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/1024= 23.html > Fixes: 3c8260ce7663 ("mtd: rawnand: brcmnand: exec_op implementation") > Signed-off-by: David Regan > Signed-off-by: William Zhang > Reviewed-by: William Zhang 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. Thanks, Miqu=C3=A8l