From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4BA6C433EF for ; Tue, 7 Jun 2022 13:32:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244722AbiFGNcK (ORCPT ); Tue, 7 Jun 2022 09:32:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233803AbiFGNcJ (ORCPT ); Tue, 7 Jun 2022 09:32:09 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69948D2460; Tue, 7 Jun 2022 06:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654608728; x=1686144728; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=+RcZIolwNakk+0aUA2CQuTdiNoT9RDa+audk1teqQ/M=; b=d29SqU5RsG/xIkGVICYbzu3phDiU/R3+ey7nUiwJKG34dMrEaxbPd1Q0 GlC8xC1MrFWwbmvNg1REC9G3VR0o+kOLSu43zDuFDSKJTcJFC4mNAwCRB Fjg7q/YMbkXSZkH/M0WeEVoMtAj14wZOVnNLA2bLd2fBZWJGdRerDk69P pMz9Kp9HPYkSZLxN8PmbWnZViGlBvS8AJrrW8yq9qtntZMUbyrhqFp/qs oNmNlo1rR4aoIo8MuhZtjnQRWDcvnmymgbKEGPfxLbQ2/9qSOnbA+iQ3f 3R7OrRhaCPge+WUVdVefz0XVPKihMUdzOKYUf10a5hWFTWcuv/KYSHFPO A==; X-IronPort-AV: E=McAfee;i="6400,9594,10370"; a="265142390" X-IronPort-AV: E=Sophos;i="5.91,284,1647327600"; d="scan'208";a="265142390" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2022 06:31:51 -0700 X-IronPort-AV: E=Sophos;i="5.91,284,1647327600"; d="scan'208";a="636126254" Received: from akmessan-mobl1.amr.corp.intel.com ([10.251.214.146]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2022 06:31:49 -0700 Date: Tue, 7 Jun 2022 16:31:46 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: Jiri Slaby cc: Greg Kroah-Hartman , linux-serial , LKML Subject: Re: [PATCH 06/36] tty/vt: consolemap: convert macros to static inlines In-Reply-To: <20220607104946.18710-6-jslaby@suse.cz> Message-ID: References: <20220607104946.18710-1-jslaby@suse.cz> <20220607104946.18710-6-jslaby@suse.cz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-221322822-1654608710=:1622" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-221322822-1654608710=:1622 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Tue, 7 Jun 2022, Jiri Slaby wrote: > This commit changes !CONFIG_CONSOLE_TRANSLATIONS definitions to real > (inline) functions. So the commit: > * makes type checking much stronger, > * removes the need of many parentheses and casts, and > * makes the code more readable. > > Signed-off-by: Jiri Slaby Reviewed-by: Ilpo Järvinen -- i. --8323329-221322822-1654608710=:1622--