Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1194743pxb; Fri, 21 Jan 2022 12:00:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOB7JtaC0YibEkyDZyZs3wL4ZnCTarpzqxWQBOiY2aG0251vHnCE2PbAbvseMmg4WCr2wW X-Received: by 2002:a17:90b:1e0c:: with SMTP id pg12mr2273381pjb.1.1642795200857; Fri, 21 Jan 2022 12:00:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642795200; cv=none; d=google.com; s=arc-20160816; b=vnPL0X8388SCoFn8mu8KnHGWcZfUxnuVqzm49xgoGlQzOwyfznatdGCUx4/ZkXcYcD cCqCSkwGb6NyTQtfz9hwWGWQm1+1mRLyDkB9Lohs9A/x7wDvQ85UmzV7eHULXSjw/ZDF Vr+n3Qh/yvMqmijYNKB6fEVRrV5Sh0UjcrP2oAav9PYCh+zh/WfG08uMRroDBSMuugOS kO8Diy6jEZ0VNNX1WGgRmWDl5WstP7R8J/hi1qflFciZQoE3fWA2Q8cOhP585HbslVZ4 NARPu89fRGgUpFhi7Fye2OCstEaXtqtghMEXCHgDxgZnVoNaT/ZuHAkVPUcVvB136zbU hQvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=9b/hX9TxYfLQD+1sqq/z8sfatEsP71rH8/wbwk+L9KY=; b=rsFzQr98HQ87BglVzZHRdaUz/Dx9M63y4dlpWGM5ysFXjCcL9frDBOokiWCrwsrDL8 lIVCnuUS7F5SNIkSRwzkIBqUCWDQoCHzmWtY10+B+byNMVNZ4qx1rVwg5tt8ZHeOQD3q kJR6aGbV3cqDVAjhKVTgwB3d7HT8v7fZ2j7LwufvPwfi1X2ycrkxebJT10rcVtf3cMdY Rlg63IHTpBcGm9/ydin3ho0SsUVexDR0Niu1wPXfHSJO56uO2TI9SjQ3bo0I30n5lksV eoOyZUNVWCOkUDpJ2blCj9gJTpBMekWlZOePugbMU2a4WsgiUmOsffOyRlZXmSpiTav4 Pgvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HhzYV4lD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bj23si1050194pgb.127.2022.01.21.11.59.48; Fri, 21 Jan 2022 12:00:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HhzYV4lD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357017AbiASTgg (ORCPT + 99 others); Wed, 19 Jan 2022 14:36:36 -0500 Received: from mga07.intel.com ([134.134.136.100]:5752 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357020AbiASTg1 (ORCPT ); Wed, 19 Jan 2022 14:36:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642620987; x=1674156987; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Y7zetMO+F9o9TgvTfnNqU31+rhVBHq60hicGgEyx15I=; b=HhzYV4lDUyY0zhE8U9LQ4rni4Lm3Ln4mXgY1xQjSoU0F2uTie+LxGlkM oBRWJSzwQGh1DLAMGrizOHtiJEZmuHVs/sQ/H9wek9g+0jDqqizd21ahz 5Q6yuBeSbylYJ36SPljxQlWeqdMbmYGeqgD6driL4fn9Ed1koxRm6XfLl z5U43+DqrU/2SojfAKvFemPc2jFBAJR0wJucfy+l95KoRsWQ0ZBDYX8Sh /xiQwZyyoQftkKaXbMlqk+/fMXEOyY4f9m0w68N2+No83ldeVojKwQxcP swXuoQLBb8M3RwThIz9M5DRnXpL7HCK6PUS3XTcXr6oOdv0dof51eYgIX A==; X-IronPort-AV: E=McAfee;i="6200,9189,10231"; a="308510733" X-IronPort-AV: E=Sophos;i="5.88,300,1635231600"; d="scan'208";a="308510733" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2022 11:26:27 -0800 X-IronPort-AV: E=Sophos;i="5.88,300,1635231600"; d="scan'208";a="765057648" Received: from smile.fi.intel.com ([10.237.72.61]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2022 11:26:19 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nAGZw-00CEZW-RK; Wed, 19 Jan 2022 21:25:08 +0200 Date: Wed, 19 Jan 2022 21:25:08 +0200 From: Andy Shevchenko To: Steven Rostedt Cc: Sakari Ailus , Lucas De Marchi , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-security-module@vger.kernel.org, nouveau@lists.freedesktop.org, netdev@vger.kernel.org, Alex Deucher , Andrew Morton , Ben Skeggs , Christian =?iso-8859-1?Q?K=F6nig?= , Chris Wilson , Daniel Vetter , David Airlie , "David S . Miller" , Emma Anholt , Eryk Brol , Francis Laniel , Greg Kroah-Hartman , Harry Wentland , Jakub Kicinski , Jani Nikula , Joonas Lahtinen , Julia Lawall , Kentaro Takeda , Leo Li , Mikita Lipski , Petr Mladek , Rahul Lakkireddy , Raju Rangoju , Rasmus Villemoes , Rodrigo Vivi , Sergey Senozhatsky , Vishal Kulkarni Subject: Re: [PATCH 1/3] lib/string_helpers: Consolidate yesno() implementation Message-ID: References: <20220119072450.2890107-1-lucas.demarchi@intel.com> <20220119072450.2890107-2-lucas.demarchi@intel.com> <20220119100635.6c45372b@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220119100635.6c45372b@gandalf.local.home> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 19, 2022 at 10:06:35AM -0500, Steven Rostedt wrote: > On Wed, 19 Jan 2022 11:18:59 +0200 > Sakari Ailus wrote: > > On Tue, Jan 18, 2022 at 11:24:48PM -0800, Lucas De Marchi wrote: > > > @@ -1354,8 +1345,7 @@ static bool tomoyo_print_condition(struct tomoyo_io_buffer *head, > > > case 3: > > > if (cond->grant_log != TOMOYO_GRANTLOG_AUTO) > > > tomoyo_io_printf(head, " grant_log=%s", > > > - tomoyo_yesno(cond->grant_log == > > > - TOMOYO_GRANTLOG_YES)); > > > + yesno(cond->grant_log == TOMOYO_GRANTLOG_YES)); > > > > This would be better split on two lines. > > Really? Yuck! > > I thought the "max line size" guideline was going to grow to a 100, but I > still see it as 80. But anyway... > > cond->grant_log == > TOMOYO_GRANTLOG_YES > > is not readable at all. Not compared to > > cond->grant_log == TOMOYO_GRANTLOG_YES > > I say keep it one line! > > Reviewed-by: Steven Rostedt (Google) I believe Sakari strongly follows the 80 rule, which means... > > Reviewed-by: Sakari Ailus ...chose either of these tags and be happy with :-) -- With Best Regards, Andy Shevchenko