Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp32029rdb; Wed, 7 Feb 2024 20:01:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWmHb9uJ2J+F+DZ3/hvr+iqomTz0say2i5IrFuIxghproMU14GVw8YSL75HRRut0jtGPM4ptjpjFv4CR2SVCKAL9muRI8vOTAH142wnFQ== X-Google-Smtp-Source: AGHT+IFausNwEJCi4my2A8HcUkSh0gu9yArx/rYNvsn3zWTj/43iOxL0oIL5xnafSp1nxSiURv1K X-Received: by 2002:a17:90a:e601:b0:296:dde5:58dc with SMTP id j1-20020a17090ae60100b00296dde558dcmr4266181pjy.10.1707364889538; Wed, 07 Feb 2024 20:01:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707364889; cv=pass; d=google.com; s=arc-20160816; b=vCeGKcZGd1DAtsQRGOnWG5h+4HMEz0lakAVjBH8dFKqOIdtVazr7Xt0ZAcO3hL+KwU 982FCR3r5gu4bJSMs6NsnBV3JiTb4tTrAg3Q4L8xeB2BPxx+QccwITGP6sy0aF7rPXMy /5O9rx8GRIXAkYpRuN9pbyT9TWPgPHzO9Qp2xjGFXtNCa3jsgPXazwLk3cAt+b40KUvJ sZxTR+I1pmeFJ3PcI+e+VTCd/AT0joemsDmBBDPDICauModonvlwvh8F12Hx58YlltuC kQP/v7mp6eRFcrQ7/TVERNtA2yt/GR2bHQPEGn/hWIaiBPGSxN6fpcSVVJ+JW8LQZsSi 9B8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=D8v/nMmgStkr3Etadudky5e2+RJFO8y2UgCmlOvs6hI=; fh=+rY4OFqbRc3vm5T9NfoI5u7dOdjEPjaZZENP1ux+H0Y=; b=TdVyU8WB7/oDEuKsKW6x58Owekh/YqgUJu5VYGyALVSV1Yyk1Wy4k5B3h0SbOW+UmB ayq4vuZj4Uyp0pNJnBJu0AGUFoMtj/LeleEV78TZ81yzue9BxQN1/Ou8UJSJHkUfEcI0 eJAaqllyc8FtP/FaNOwXdQK0gJMTcFk61gby/9jkWSGHYWNkW39+oZGOOqdMyGCEABro Xfr6wu3bGhK9PoDfV0hNE9Wocu4lCxHWp1uEblfF69Uc0ypiFH3nEPENJeEThmu/Ravy PUd2kcksoE0IgQ9xFogc11sjA5ph31zxIwyhAZz3Sev6Wsk9ObsoeWNyP/8vDYa/BO7b F0Aw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-57457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com X-Forwarded-Encrypted: i=2; AJvYcCUg6+brPg06QjYXbUJ9gxyL7ER63X/24asF18pdq3YB91YXKXUxExtDB6EFzPFcEXiGWa/+ybnM/i0MwItnhRrSJBRmgzmHyx5unwdirw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id sw13-20020a17090b2c8d00b00296bd36599asi480906pjb.49.2024.02.07.20.01.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 20:01:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-57457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 360922846E8 for ; Thu, 8 Feb 2024 04:01:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C29762D054; Thu, 8 Feb 2024 04:01:20 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 973D52E400; Thu, 8 Feb 2024 04:01:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707364880; cv=none; b=AoeCuTn5spZ2HZdVbt5F835wOpQiEoU0NDU3WEYbO7KcXc8truvaQZWMy5TcCxGt+cACEPkZGSS5nZLLEyz5i8pRIVLGMfDPER19znqbwA6TtOIFjoxT4hjN68TI0MGaJVewycMmCqPBsCVPwomtDavOJnu4XBYPRf15J38lE7o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707364880; c=relaxed/simple; bh=qssGJbK0ESJ7STyLMPwWaFGvgaAgAgGZ/WWghYc5FsA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pTp8V/Tjeu8TG7ntZtzUKQQ+GlqAUg69WvK39dezvDziqHUSQAtmEK0vApUR+8sJpRIiYjnZd4ha5LABLe4cpGyEPUvA1++zuudnjjXJ4JchjolYQFPR3ZwxVHSkvLkbD8q7WwvK2hScTwxykg3VWcRmZe0HLVtIsb4TSDCXPeA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D9F6D1FB; Wed, 7 Feb 2024 20:01:58 -0800 (PST) Received: from [10.163.44.57] (unknown [10.163.44.57]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0F3EC3F5A1; Wed, 7 Feb 2024 20:01:13 -0800 (PST) Message-ID: <180491ea-d4b4-4d70-a615-595492175efd@arm.com> Date: Thu, 8 Feb 2024 09:31:11 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] dma-contiguous: remove debug code to removed CONFIG_CMA_DEBUG Content-Language: en-US To: Lukas Bulwahn , Andrew Morton , Christoph Hellwig , Marek Szyprowski , Robin Murphy , iommu@lists.linux.dev Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240207143825.986-1-lukas.bulwahn@gmail.com> From: Anshuman Khandual In-Reply-To: <20240207143825.986-1-lukas.bulwahn@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/7/24 20:08, Lukas Bulwahn wrote: > Commit acc2f3e42d4a ("mm/cma: drop CONFIG_CMA_DEBUG") removes the config > CMA_DEBUG and the debug code in cma.c, but misses debug code in > kernel/dma/contiguous.c. > > Remove this dead code from this removed config option. > > Signed-off-by: Lukas Bulwahn > --- > Andrew, please pick this minor clean-up patch of top of the commit above. > > kernel/dma/contiguous.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c > index f005c66f378c..055da410ac71 100644 > --- a/kernel/dma/contiguous.c > +++ b/kernel/dma/contiguous.c > @@ -37,12 +37,6 @@ > > #define pr_fmt(fmt) "cma: " fmt > > -#ifdef CONFIG_CMA_DEBUG > -#ifndef DEBUG > -# define DEBUG > -#endif > -#endif > - > #include > > #include Reviewed-by: Anshuman Khandual