Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp206799rdh; Wed, 7 Feb 2024 02:16:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxz80smh6SGUHEGKNRCao1KOp+X9qhjWYonj6QHKRdnzMgqMKeW3gK/OrJaMVAksmSxXgX X-Received: by 2002:a05:620a:673:b0:785:5f2c:de62 with SMTP id a19-20020a05620a067300b007855f2cde62mr4658066qkh.59.1707300992059; Wed, 07 Feb 2024 02:16:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707300992; cv=pass; d=google.com; s=arc-20160816; b=U8kDFd7EQ6c7e6DQsqdIjqYPusKfAUN8HooLqH2QFeGJvLZ9dZwlUnr3GOF/qRlS3Z 3Jd/JNFgqq9CiklQgX3H/LEbmX3GzH2qnuWPtJitE24PnZygbPqqZz1vKR82/2D+3oF/ GpzaAXm/6OaN71wDYg1Et/dDn2cL7kzzgK6szDYfL8/NoZwFi4utGOCymw2fE+M0ECi2 Yonyk9EeMIyegK1mvEyOzvKVdbDSNvH8KuaDMk6L2y+iF6I/EMMHOJRuP0/al1Jpl9bO GIIladoWqQ0cQ4UKK8s6pk/1Fckr4qF2VfxOYvpPkPzN3LnELTe2RgJ4hPVTGtcxIlFg KDLA== 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=FBzQpXcgvEB3DZxT/pOZWfxnBMOoV5VgWclFg9TDBq8=; fh=lsFzNjymCo7y27TbfOnPrZWfei6+D7vU88Hmo6kfzD4=; b=ZW/IX2wOp4jN+ZrsG5C9DTUbC2IPC4KslxG22yWUx1/GOJJM80XTpMVVMtKE3VrW7y vDrPb9xRtiCGeRdUj066WEyEhP80bCW19z9g0H5upp34E8v5ChT6KrBvT2y+L70NxrUL Niz1QxAUVOMZyPYsJQigNfSjxHwdUV+vpPsqR7GnOIxiaUi6vVoFsfhYlJ2+LvFL/yV7 W2ssSJ9VT78IEVz/OPgqcF5q7MHzAENdxkBBCe5EMKE2RRizpV+jhSa8UwG33vmGH99Y p68+6MripRMcCPSw5XWmqHaB+urKM5yWGHxrfDOO3D9ScUuZuqYmp76l1e0eFxy2FqDp hr5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1Chcv9I7; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-56294-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56294-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCXbcyJ/3uEqRQkLq7uT/2TC6J0B4MhqcoFG/75Vm6PvGZfxLBtSt0+dPvoEq0Iq8bGXmLM1PAODZ0YiQXGenmUcIG15puZB639St7HC1Q== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t28-20020a05620a035c00b0078471a6f6e8si777808qkm.732.2024.02.07.02.16.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 02:16:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56294-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1Chcv9I7; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-56294-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56294-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 C84131C20FDA for ; Wed, 7 Feb 2024 10:16:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63EC425551; Wed, 7 Feb 2024 10:16:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1Chcv9I7" 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 832A724B34; Wed, 7 Feb 2024 10:16:23 +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=1707300984; cv=none; b=CxztSS2t/im/3Xw5zG42u3qVEMES95nVZ+wb5sdYtI4kpkUdCTke6YTMGfIAsm2Ttk5lPUf7FhMNYLiQpOulKkyi9bnJKOT4ONtiY3p9yDbxwCaibJIc6v3y9y1txoE9ZrlMQLjXVT2+v4NBgI/8woMRzOWW2MZOPbt6DaXL6Lg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707300984; c=relaxed/simple; bh=O04xBB7jnsZDHGbei3HBZ/qO2slZ2cFBfcRAGrgWMGA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BFx3b5Dv+1kXujWoVr5jHtQXyY+7ExTEILjcD+UHAL5mF4JuG2bC1Hq9Pz6AfqfDKsmFlAB7sjy4isRtNZa67Kss0gRzFfNz7RJdojNwVPnDu7nQpDf62trvezzmGl0MnEwbnvtgJVcAZpdkbOciNWUZCTRAefJ7NuS/3B4Uw7w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1Chcv9I7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D0F2C433F1; Wed, 7 Feb 2024 10:16:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707300983; bh=O04xBB7jnsZDHGbei3HBZ/qO2slZ2cFBfcRAGrgWMGA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1Chcv9I76fqA58CzJhnC6834vmu/rCPhepxW1dU3gSIIb/UV9k2EQS2IH3igdQnqO 1ipgUgxeac8jMik4ta+EKdszqKqEtdARVUd61yMK50nMCLcMU7OqDV7cul2Kc5N2nR ymWuEGKGVidQW8cicnKse6OqZONINuuL21hTKeMg= Date: Wed, 7 Feb 2024 10:16:20 +0000 From: Greg Kroah-Hartman To: Fedor Pchelkin Cc: Manivannan Sadhasivam , Jeffrey Hugo , Kalle Valo , Carl Vanderlip , Sujeev Dias , Siddartha Mohanadoss , mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Khoroshilov , lvc-project@linuxtesting.org Subject: Re: [PATCH] bus: mhi: host: free buffer on error in mhi_alloc_bhie_table Message-ID: <2024020709-familiar-slapping-a96a@gregkh> References: <20240207065136.18316-1-pchelkin@ispras.ru> 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: <20240207065136.18316-1-pchelkin@ispras.ru> On Wed, Feb 07, 2024 at 09:51:36AM +0300, Fedor Pchelkin wrote: > img_info->mhi_buf should be freed on error path in mhi_alloc_bhie_table(). > This error case is rare but still needs to be fixed. > > Found by Linux Verification Center (linuxtesting.org). > > Fixes: 3000f85b8f47 ("bus: mhi: core: Add support for basic PM operations") > Signed-off-by: Fedor Pchelkin > --- > drivers/bus/mhi/host/boot.c | 1 + > 1 file changed, 1 insertion(+) Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - You have marked a patch with a "Fixes:" tag for a commit that is in an older released kernel, yet you do not have a cc: stable line in the signed-off-by area at all, which means that the patch will not be applied to any older kernel releases. To properly fix this, please follow the documented rules in the Documentation/process/stable-kernel-rules.rst file for how to resolve this. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot