From mboxrd@z Thu Jan 1 00:00:00 1970 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 5D03F1487FE; Fri, 5 Jul 2024 11:17:42 +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=1720178262; cv=none; b=UA3gAJS+RbXy/+R3NkXKOq9yopZYkDgfSHZTixFcX1FhBYMEabCwnLOlOGGTp+P5Z+GsrWiuOm/YJUjOI6LY77dcz7ahrOpCJlUMo4tQi+nkyu98hbfCMAQ8uLaDJw5ctc97ahh+veMwBPgacm7JqT3AHEDlC/vDFmQXaTRXoQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720178262; c=relaxed/simple; bh=RBYIf/XbFHmUFmPR+A2DquaCRZ2Vjj0Yt+m6L1vh5sY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oDKOW4ozBl+8QPiLX7L9dUagmVo9egSFsGf+Wqlhr8r0khpq139FxoCl4Xu49pcYuZpRgPbIpsow178YdqdQbayV1Ch/DZFx8uuia/IqMCwdhzwPYyKifeV9rMgpajCeSSSkazZTEE6wA2x/K3uoC5yPz1Rc775Y8IDQ4uiakXs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UUi21u7R; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UUi21u7R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21038C4AF0A; Fri, 5 Jul 2024 11:17:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720178261; bh=RBYIf/XbFHmUFmPR+A2DquaCRZ2Vjj0Yt+m6L1vh5sY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UUi21u7RHrnH1FP7Mp7AfpE8L27C/mlkUHBcve1n3JVaz86wzqZ+BcsclCazQ1kNv wjkNBV+1F5HC1urmBazyaJjWyBCdwX1m348oH0dZKMlJ1FNei0smLFY2LmyVThb0Jx 3xI83LRQpb2gHl18jCUMZ+SkOGmU11EUXIqWqTORLQb3UF/pIe1FdCSPZYe5MTSrWs 6Y1on/RhK5XoelG6zBDC/gFwBDSOfaKZX9RwFE1qwVGCwLzTzEi0O7rwLhI3ONj9CD x0jPJN7JJptVO7pannx1ZCKs7tjKacQO0MjIXe5izduWxpfQxML0n8Z2EDv2Hfsnyn EqivQ2XFEjFqw== Date: Fri, 5 Jul 2024 12:17:37 +0100 From: Simon Horman To: Aleksandr Mishin Cc: Sunil Goutham , Linu Cherian , Geetha sowjanya , Jerin Jacob , hariprasad , Subbaraya Sundeep , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Subject: Re: [PATCH net] octeontx2-af: Fix incorrect value output on error path in rvu_check_rsrc_availability() Message-ID: <20240705111737.GE1095183@kernel.org> References: <20240705095317.12640-1-amishin@t-argos.ru> Precedence: bulk X-Mailing-List: netdev@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: <20240705095317.12640-1-amishin@t-argos.ru> On Fri, Jul 05, 2024 at 12:53:17PM +0300, Aleksandr Mishin wrote: > In rvu_check_rsrc_availability() in case of invalid SSOW req, an incorrect > data is printed to error log. 'req->sso' value is printed instead of > 'req->ssow'. Looks like "copy-paste" mistake. > > Fix this mistake by replacing 'req->sso' with 'req->ssow'. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Fixes: 746ea74241fa ("octeontx2-af: Add RVU block LF provisioning support") > Signed-off-by: Aleksandr Mishin Reviewed-by: Simon Horman