From patchwork Fri Jan 3 06:26:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nitin Gote X-Patchwork-Id: 13925185 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5CBC7E77198 for ; Fri, 3 Jan 2025 06:06:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D460910E7FD; Fri, 3 Jan 2025 06:06:37 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="gVfyIuZd"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 999F410E288 for ; Fri, 3 Jan 2025 06:06:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1735884397; x=1767420397; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lwYecPIzZZlfuK5LFGgIpIEHGnT1IRRLLDG8QvKRZxg=; b=gVfyIuZdooSl/knDSvg/0fYMG/GRiLFAshK5JqILwNmFWTt00cpjSGpK oJuecohGJKzuIW2fKqefHxgMhC0UlyA+KUrOxQSA8wGnJcAOwc2k5aA+i AyBxLDgk4IwMxoy3yjEJwcbzJocFG6PbBevs7NKlGQ5z5arhjm+nYsjuz HU+KbtgqqZcWSODWu1K+jboc6LI25ygMXPwEe8EgnzREeT4XT9JxIpnQy a0z2uv8fik7sxInUKHXWhh9PVSIkaCShEf7gLdQqgweWy6bA8FlYaeWGv lERnftCGsK9m0lTo8KNe1yaGuq8L2rVpusk7fEuanXDWf3g2VadgTfIL5 Q==; X-CSE-ConnectionGUID: 67vyhb6eQ0KhJUOEpe1NRw== X-CSE-MsgGUID: fisacTmNSUanhVKHbGuRgg== X-IronPort-AV: E=McAfee;i="6700,10204,11303"; a="40056422" X-IronPort-AV: E=Sophos;i="6.12,286,1728975600"; d="scan'208";a="40056422" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2025 22:05:46 -0800 X-CSE-ConnectionGUID: PNDB2eZMTSqaMTpNzXs6IA== X-CSE-MsgGUID: oTuOqejgQoG4FQYpQwruXw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="101557271" Received: from nitin-super-server.iind.intel.com ([10.145.169.70]) by orviesa010.jf.intel.com with ESMTP; 02 Jan 2025 22:05:43 -0800 From: Nitin Gote To: intel-gfx@lists.freedesktop.org Cc: andi.shyti@intel.com, Nitin Gote Subject: [PATCH v1 0/1] drm/i915/gt: Prefer IS_ENABLED() instead of defined() on config option Date: Fri, 3 Jan 2025 11:56:50 +0530 Message-Id: <20250103062651.798249-1-nitin.r.gote@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Use IS_ENABLED() instead of defined() for checking whether a kconfig option is enabled. Nitin Gote (1): drm/i915/gt: Prefer IS_ENABLED() instead of defined() on config option drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)