Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2199184rdb; Tue, 20 Feb 2024 23:16:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVNkd8IZgNzwz9ZCSLO6zUWUqlv4OMZINfUqTGVXU2MuU1y+GSFyAwbY8whfSb9vxDnTZmeKPuRgHCQZMEMeSvjki5GZI9giugC/1dSzQ== X-Google-Smtp-Source: AGHT+IEStFiQ7Had+60C+KHBUSIHmK3BBYk8jnFhLFBJQrwH8j87pYS5TBuePROZugjYRXriiz/F X-Received: by 2002:a05:6808:2392:b0:3c0:36ec:d59d with SMTP id bp18-20020a056808239200b003c036ecd59dmr21551954oib.37.1708499783718; Tue, 20 Feb 2024 23:16:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708499783; cv=pass; d=google.com; s=arc-20160816; b=1IxdWxgyDtnl5K5RZoNyvoyMXni4O9iZipKX2DilezOeFP7IoOZ65e85HZ/u0FQxBa 6w8pJqtX+B6TaN+dEqwun6NCtNY+DHxeqYkMa0BH1cVYkh85IYkTH8XAhvR7xMsFd2mH 9ycV1cUCm36XT1AaEtMtdW1XsdjAYLFzYU7zhAJphmaUenV+znQhIoTZjc/bqd74UAyA jkGDh7Vygq1NmQhfpxAvMSbwyl052/oVAf5gSFYUXsPfAxSXRkxJ/QHZnYRz1aQQq9j9 C96diAIHG6VhVMywUYMt25FZV/nVTPz8khzFxAJu3vrRnR4KRnbboQL7QfSeB8/qzVe4 Ea7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YVkY57PGrXF7HDeyEq0gu14Rt9F9yCgxKA8JQPS+gCQ=; fh=Ar+/RGXZbivbrAMZqgTEvCLlDpytcYoKsMk4hD9frKs=; b=s6VjZRoueROX5dk4CVHR/kpiflmvsZ8C34UgcuGENxNq75KsEcQToW9+mZoasusHjS H6CZXnBa4VhMhORWo3CT2BJOhczH2NW0MDi9gRVc0ZguU6YORoMSYor/p0kiu89/65qN CWGLqbF16c6SF+bsGDPaQ+34Cb4M1r7KA8cjzjWE2AGrScEElf3SWnoUGvlKaAufSmMx +A3jB2llTXhQ/lBYMVA7zpRnyZ9bxG5nlA/xT/nROcGND3GDQ9hAjn0IX8jCO5CJrpTE 8iBueKYLlwnQIqaU1IbtIvCzA8kEddTevxQYLwQZaWeDGmw9Mz67/ONlQ5NjSh/grbYA 09BA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qLjog0TK; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74202-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74202-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p17-20020a637411000000b005df5924303fsi7135929pgc.786.2024.02.20.23.16.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 23:16:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74202-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qLjog0TK; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74202-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74202-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 66ECD28482B for ; Wed, 21 Feb 2024 07:16:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00D323A8E6; Wed, 21 Feb 2024 07:16:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qLjog0TK" Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BDC023A29E for ; Wed, 21 Feb 2024 07:16:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708499773; cv=none; b=NUF5WVbgVjYD6YU+uoyEUGQVaj9kX+w7LrF4KhxaHEl6ZHW5rmUoLp1V14B0ybOajZWTFEZAFiqTy319pK5UBQH8ja8yCo31vlCoFflXA50KuFumVsRKxzMsl+wc1XtCvlbm5aNM3zTJEyFP+iPd2e2rhgBzo6dICFXoKNadS9s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708499773; c=relaxed/simple; bh=wkLAEBQr8OqY63bSzLHVJZpa0DZYKA/19CYDFKRQsv8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qXDE/Kt47e79+iFbjprAYsA44y9osPSNAAvxLuYAaxJ30gok+bquo8qIzZyc85/chr615TytLsytXzJDAgTUHZKOIoGk3+1sgZrMwT6eQc0VVMgXZ35Jn/exhTaTHWbWQG5FCdkNvViYFii7gtjv1UvBHt2ZJCwxwXlpnwJXK/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=qLjog0TK; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1dbf1fe91fcso25628795ad.3 for ; Tue, 20 Feb 2024 23:16:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708499771; x=1709104571; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=YVkY57PGrXF7HDeyEq0gu14Rt9F9yCgxKA8JQPS+gCQ=; b=qLjog0TK4W2ByJEu4T3+C7BAXqLgytEJYZBPP2bs2erkuaehPPIarAEgP+EY5gOSoS icIfBf9OvA4G++8RCKnhX3Q/zCj0KRFjni27DrSyRtuJRaXrez7EjZKZy5qJRmrm5jAx o91qjLBzrx7/A/jnNbQRoUhlA+1a3YO8bpid7tNRZzU0uEo1PaeNyDNoVlB6H5oKeOyv Y+67FOB+yxCrgl0jkTNbxFDFwI00cHPk2894RencpluP0I1xyASJZ7tdxa38zpqHxZ93 sHZNPvFm60ZC0h1JZRY2iIh1OUxpa2+kOUGtL3XnoVSpTeMxeNhtwYgFMFx3EYNhsFYC i16g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708499771; x=1709104571; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YVkY57PGrXF7HDeyEq0gu14Rt9F9yCgxKA8JQPS+gCQ=; b=olLlHsktRzNSP5c24gqUaR/PiK4QI4OkqdmXYhysZdz31rohSnlu4MsrzoOLLKbsoo VF8VfX98cqW/4F6fdVujNNZ80nHcHwvvmKq/fmREm1oIvUhXKKpUEGIuJGYhiga8Ps9W aA566qzInAXs9RJoOLCh8AbaMYp/0e9DddQuiRUQU7EJTVK9J2ReEW9LTJiwK/2pGFwA XJDDT9e5aVMI6gfJI9O67zBxVbn5owQBqHshoEhfofO57SrgENYzn7RBeJKF7AR5PY/0 vhtFSDkZ7TnOJOdY+xnkMbLQLcFIgLJVuAQq/FXralj9Z7eKPgZCywhcZuoVdPdBZl0S NedQ== X-Forwarded-Encrypted: i=1; AJvYcCXbADS8X9aj+WBOTGDV5TluUmQ97nTHqHYy2H6YMvsDYSwbjdSgabr7PChpGKYeWZ7j8w0tBNGHBZUcA14MhH0lwhScz/ULFMtzC7Yh X-Gm-Message-State: AOJu0Yw5UdaW6JMezKJA5HDwMzoGbc4W7q25FKmIYZqVqM8FOnHMRC/3 nWm5ELaOSdu+BjFvIL3PeNxmxAq29omlmE7QDPLDVlYlhn/M17jxGtYcLLgxvA== X-Received: by 2002:a17:902:d4c3:b0:1dc:10a5:8be7 with SMTP id o3-20020a170902d4c300b001dc10a58be7mr6016047plg.50.1708499771002; Tue, 20 Feb 2024 23:16:11 -0800 (PST) Received: from thinkpad ([117.207.28.224]) by smtp.gmail.com with ESMTPSA id kn14-20020a170903078e00b001d9a91af8a4sm7379488plb.28.2024.02.20.23.16.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 23:16:10 -0800 (PST) Date: Wed, 21 Feb 2024 12:46:04 +0530 From: Manivannan Sadhasivam To: Dan Carpenter Cc: Alex Elder , Jeffrey Hugo , Erick Archer , mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] bus: mhi: ep: check the correct variable in mhi_ep_register_controller() Message-ID: <20240221071604.GH11693@thinkpad> References: 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Feb 21, 2024 at 09:20:19AM +0300, Dan Carpenter wrote: > There is a copy and paste bug here so it checks "ev_ring_el_cache" instead > of "ring_item_cache". > > Fixes: 62210a26cd4f ("bus: mhi: ep: Use slab allocator where applicable") > Signed-off-by: Dan Carpenter Applied to mhi-next! - Mani > --- > drivers/bus/mhi/ep/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/bus/mhi/ep/main.c b/drivers/bus/mhi/ep/main.c > index 8d7a4102bdb7..f8f674adf1d4 100644 > --- a/drivers/bus/mhi/ep/main.c > +++ b/drivers/bus/mhi/ep/main.c > @@ -1497,7 +1497,7 @@ int mhi_ep_register_controller(struct mhi_ep_cntrl *mhi_cntrl, > mhi_cntrl->ring_item_cache = kmem_cache_create("mhi_ep_ring_item", > sizeof(struct mhi_ep_ring_item), 0, > 0, NULL); > - if (!mhi_cntrl->ev_ring_el_cache) { > + if (!mhi_cntrl->ring_item_cache) { > ret = -ENOMEM; > goto err_destroy_tre_buf_cache; > } > -- > 2.43.0 > -- மணிவண்ணன் சதாசிவம்