Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6585503rdb; Tue, 2 Jan 2024 06:49:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBkFxQW/ZBqmeNQcc80kfrIup7XFHzkAfzox6tcSJsEstXVR1pzITFaFRoT+aDRXn/rwOx X-Received: by 2002:a05:6358:6f93:b0:174:c9a0:cf99 with SMTP id s19-20020a0563586f9300b00174c9a0cf99mr9736067rwn.57.1704206945943; Tue, 02 Jan 2024 06:49:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704206945; cv=none; d=google.com; s=arc-20160816; b=io4aTegy3/vO+drIRJwbZ7A9ky7daJQFuUE5JS3QBGF8noTLBA0HJuk0jMUp9ar2KE hfo5TFgzOAHQkAbittXHcHngLKHKnEXg9l0HY3Rq/jCQOWig79psDYwNTIbB3iWwqHtI rrIMquLOH4YJP7ee7fNZMpLsqxnAgNQGv+dC4SXW59D1OXhUxXx+CP6VxvM0gyv73Eaa RhIMLBFrbiifVnbUE9fLiAEm5kqa4HxIdebC/KIi0NHxiOY0UwkrJSkQS0OvHHuaPxV2 UYvOxddVzs6QHGr7zzwjj7wM4zyNWnIPiGnut4uWJz+UA0KK8ngV4uIPSTG8qyq4mnwi eCKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:organization:in-reply-to:subject:cc:to :from:dkim-signature; bh=4MA/wjRfIjeMbAka/f+IM2JZ7P6gxjnuPr6iXlWKgR8=; fh=UN/J+DJn/QkTONfSUhS4g6Zo/B1LC1fSQgEki7IHnG0=; b=GnEFBtw/Y4TL1bWM16BJ4o7kUzap9lcQs+svrz9SuYcBqp7TFvPn3KI4jPNiSSBnLE bCjvyleojmogShWfYVr8t41gBQjCI0kkhRofoC5ODSl7A/T5cfLD/6WempcA57Q7Nwe7 wSD87pmDaC/Jl5wgHHO+fSMN5t3IQAaP+U/2XGVUZgYT33jqHBDf8xWywuOn4UetL9jZ 2Cw1+zvtOcGEvGSSjGEKA4TbRCx7wE1fvX+hWfWtNkaVm/l+4VrDmZbr2/Z6FD/vgeEs wn3Mt/SiHMcn5xm7Yfib8lhhLS10i85qkPGTI304kUQOkdYwjoD6jbREb2y8q0gqmxvo +d7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ioPL8PoF; spf=pass (google.com: domain of linux-kernel+bounces-14505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l30-20020a63571e000000b005c6f9aca013si19627670pgb.597.2024.01.02.06.49.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 06:49:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14505-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; dkim=pass header.i=@intel.com header.s=Intel header.b=ioPL8PoF; spf=pass (google.com: domain of linux-kernel+bounces-14505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 6C136283877 for ; Tue, 2 Jan 2024 14:49:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 636DD12E59; Tue, 2 Jan 2024 14:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ioPL8PoF" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (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 1FE3D125D2 for ; Tue, 2 Jan 2024 14:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704206938; x=1735742938; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=V51w5K1EQfkD+FE5AxSfH4Xycasu1bgRbde+rYFFCpc=; b=ioPL8PoFA8ax63ldzFSh8GYySPHOt0Ut1zeq6aFVGt8VF3G2UnccTLRA ZqOQU8gD3ddJPOVtIL5KbX3TOQtn+A5NTv0kUtl02STqqEGSAKgGv0nmD L0LJddL454G6zU8djiMvopWTv1QohM7FdK0d9zlmQDvssYkEO7MFc3rac t0Y40m9gOHDMbakwwH0tF3THFouPuRydZaEZXXJGViEbNrTwtRdZPShs8 h6dRdwxFfHGRks1SrmxCWkKd/Ug7TGi8pkEndHPIOphjQpNwlZYluKfPV asXwdtPhD7pQwy5Vh3eVUCVWbb3HNi6AYwtSjmJseOqr7aGBaJsKLqpJz g==; X-IronPort-AV: E=McAfee;i="6600,9927,10941"; a="4223299" X-IronPort-AV: E=Sophos;i="6.04,325,1695711600"; d="scan'208";a="4223299" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2024 06:48:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10941"; a="952942909" X-IronPort-AV: E=Sophos;i="6.04,325,1695711600"; d="scan'208";a="952942909" Received: from dmaryin-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.35.224]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2024 06:48:53 -0800 From: Jani Nikula To: Dario Binacchi , linux-kernel@vger.kernel.org Cc: Dario Binacchi , Daniel Vetter , David Airlie , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2] drm/debugfs: drop unneeded DEBUG_FS guard In-Reply-To: <20231223183301.78332-1-dario.binacchi@amarulasolutions.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20231223183301.78332-1-dario.binacchi@amarulasolutions.com> Date: Tue, 02 Jan 2024 16:48:42 +0200 Message-ID: <87sf3f23lh.fsf@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Sat, 23 Dec 2023, Dario Binacchi wrote: > The Makefile enables/disables the file compilation depending on > CONFIG_DEBUG_FS. > > Signed-off-by: Dario Binacchi > Reviewed-by: Jani Nikula Thanks for the patch, pushed to drm-misc-next. BR, Jani. > > --- > > Changes in v2: > - Add 'Reviewed-by' tag of Jani Nikula > > drivers/gpu/drm/drm_debugfs.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c > index f291fb4b359f..f80d9cf3e71a 100644 > --- a/drivers/gpu/drm/drm_debugfs.c > +++ b/drivers/gpu/drm/drm_debugfs.c > @@ -45,8 +45,6 @@ > #include "drm_crtc_internal.h" > #include "drm_internal.h" > > -#if defined(CONFIG_DEBUG_FS) > - > /*************************************************** > * Initialization, etc. > **************************************************/ > @@ -588,5 +586,3 @@ void drm_debugfs_crtc_remove(struct drm_crtc *crtc) > debugfs_remove_recursive(crtc->debugfs_entry); > crtc->debugfs_entry = NULL; > } > - > -#endif /* CONFIG_DEBUG_FS */ -- Jani Nikula, Intel