From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (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 C6D821922FA for ; Tue, 25 Mar 2025 16:20:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742919661; cv=none; b=m3wbFQ2EM+QUjZxdYM/FtyXOyXmIY1dMWnZ/HQCRksOD3tHPQBoJIrIbvJj79wjBy7NoJS0gW4CdveJOCLMbJK2UMpmMnnRTm6GcgicgHex1sVpQxIyg8pVktBIPSTwUDswhnIWLLRZbIi8Q5qxvpKwMQ1+PuPRracdnAog2Opk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742919661; c=relaxed/simple; bh=GjYkRvObWlrImE4cQ7gUuIKV1Cu2lgGMbmIy+oWECk0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ViN4tY608NdyVtm/qBixm5yQ8kf/dqwxeVtUBPpYnHw42+7WiBeOJX0PdmJyOgNVVKBRrouQepHe0vQAfbxrhzeAA3gc60kE0EzGPMxQd5yBZL1/3RIRPK07/xGJIzT1+xWb9qwxWH5jjvQzYEZE+QUTNYq5SrMJB+GrRXu+LKc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=OBzdh316; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OBzdh316" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1742919660; x=1774455660; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=GjYkRvObWlrImE4cQ7gUuIKV1Cu2lgGMbmIy+oWECk0=; b=OBzdh316KQTOXR5a1HtRVAeLeFYgxw7fBD5aGql6ET4PlmZ22TeLbdCO QRVtVvH1A2SvsX8dI+tNuPuXp92t3Z7sO4S8jn4ysgXowzW7MNutOIqnc uWYVcDeWkjIgl3TyNfm4kU+3ehs/pX10p5BP6aVEw+9iEm1URDC3c202x HY3TZ533ztHtZVjN11LAraa9ZmP8OxMbeY+2Vl6nFZtbt/WTn8uMNa0Iq nxIMFNNLl6d8t8GM1gxiM/IvnpGszDVrcZlhZuy6cJd1JQkojrBlFyfef /s+NV3e5ctWrCg7PIsXwAQAVuhVTDukkWiI4Xq+XQDcP4uev/+32YfrU9 Q==; X-CSE-ConnectionGUID: flMPTjjMTj+ogf0BMlb5gQ== X-CSE-MsgGUID: cMdq78ifTXqf/mL94HhmLA== X-IronPort-AV: E=McAfee;i="6700,10204,11384"; a="43904456" X-IronPort-AV: E=Sophos;i="6.14,275,1736841600"; d="scan'208";a="43904456" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2025 09:21:00 -0700 X-CSE-ConnectionGUID: YfDEOEvTTumX1d8yEn9lKg== X-CSE-MsgGUID: Iu6cG0pzTUGMZM0z5IvoLg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.14,275,1736841600"; d="scan'208";a="128579110" Received: from smile.fi.intel.com ([10.237.72.58]) by fmviesa003.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2025 09:20:55 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.98) (envelope-from ) id 1tx71H-00000005ngL-40Jm; Tue, 25 Mar 2025 18:20:51 +0200 Date: Tue, 25 Mar 2025 18:20:51 +0200 From: Andy Shevchenko To: mailhol.vincent@wanadoo.fr Cc: Yury Norov , Lucas De Marchi , Rasmus Villemoes , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Simona Vetter , Andrew Morton , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Andi Shyti , David Laight , Catalin Marinas , Anshuman Khandual , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v8 1/6] bits: add comments and newlines to #if, #else and #endif directives Message-ID: References: <20250326-fixed-type-genmasks-v8-0-24afed16ca00@wanadoo.fr> <20250326-fixed-type-genmasks-v8-1-24afed16ca00@wanadoo.fr> 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: <20250326-fixed-type-genmasks-v8-1-24afed16ca00@wanadoo.fr> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, Mar 26, 2025 at 12:59:56AM +0900, Vincent Mailhol via B4 Relay wrote: > From: Vincent Mailhol > > This is a preparation for the upcoming GENMASK_U*() and BIT_U*() > changes. After introducing those new macros, there will be a lot of > scrolling between the #if, #else and #endif. > > Add a comment to the #else and #endif preprocessor macros to help keep > track of which context we are in. Also, add new lines to better > visually separate the non-asm and asm sections. Reviewed-by: Andy Shevchenko Thanks! -- With Best Regards, Andy Shevchenko