Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3329997ybd; Tue, 25 Jun 2019 00:21:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgb2F6jn0P+ZxVvmIw4Hfu61x472YETPCAjudD4vgiGg9L9/zc+UiJ5gBo/sTz27VD8Jy0 X-Received: by 2002:a17:902:8f93:: with SMTP id z19mr65293083plo.97.1561447261009; Tue, 25 Jun 2019 00:21:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561447261; cv=none; d=google.com; s=arc-20160816; b=q0dq2hNmGc1XHPee/cjAA/gfiGRfpdiugZzgEUp8W0KrG42GSzAdpL0jIfTsibnen4 EyT7FP4FMYzZNDVqFRcYB6eFK2QF5Mbm7LfSc19PH7LD9C80hAIQ1FSlnGHhHNYmz5k5 OmiZNgvu2ifYvM//rdDlxw2RV6sQ17xhL51vQi5U8oPPlniuon0Ompd8C12yeXZX9rG8 GsHuny50Mm/vZx2D0ZUwwVPazOL7J5M76utecdM+Pi+Ieez5ndvP1TrucMw85LUZ3cCz nZ8Llg98HXEqR0nL/zbxNV09fHcKGPSKloVkFYksz9fD45nXc7xv2b6htGwbcjv52UR3 HtXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=A1EWOp6fijvua5DsHR2z3ocyr1cM391yUHiLU4av62E=; b=yZDaGXkDeCWJ9s2hvYjPLSGmEy4AB1mZBW5mkZ199NGDMLxxU+Ua3+7WXs8vnxB8Qt 8lSqmx6P3xyqRnXVQL4hUB2A0DrVrTR6oh/1mDF+vYpsfqM5wOzbf3oxKGvxQiaH8A+u E+yR0QLT5IN8pvFakVgBXnIkF0nE8DGBKaz1Q/aSNntAIt3cxtrA+tcRig3GYY280xM4 5LmWryaWh6ERK1YXvd4NTzaKhIRECuxSfAiN50kA8ARKJI5VxgpwjbFUtHtlgkaf/XhD Wlrm708giOXCKctc1K8BIHIR2vQqw9lq3+G/6YWVc7PRKxX0Itg3ap2uWasitjpX755z 6QEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m26si11768219pgv.388.2019.06.25.00.20.45; Tue, 25 Jun 2019 00:21:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728111AbfFYFRv (ORCPT + 99 others); Tue, 25 Jun 2019 01:17:51 -0400 Received: from smtprelay0192.hostedemail.com ([216.40.44.192]:53847 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726422AbfFYFRu (ORCPT ); Tue, 25 Jun 2019 01:17:50 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 9E83B837F24C; Tue, 25 Jun 2019 05:17:48 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: X-HE-Tag: spade50_7d8321185044f X-Filterd-Recvd-Size: 3418 Received: from XPS-9350 (cpe-23-242-196-136.socal.res.rr.com [23.242.196.136]) (Authenticated sender: joe@perches.com) by omf16.hostedemail.com (Postfix) with ESMTPA; Tue, 25 Jun 2019 05:17:42 +0000 (UTC) Message-ID: <45177fdaff2bf2a2538e34dab175488d2ba9a46c.camel@perches.com> Subject: Re: [PATCH v4 4/7] lib/hexdump.c: Replace ascii bool in hex_dump_to_buffer with flags From: Joe Perches To: Alastair D'Silva Cc: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Dan Carpenter , Karsten Keil , Jassi Brar , Tom Lendacky , "David S. Miller" , Jose Abreu , Kalle Valo , Stanislaw Gruszka , Benson Leung , Enric Balletbo i Serra , "James E.J. Bottomley" , "Martin K. Petersen" , Greg Kroah-Hartman , Alexander Viro , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , David Laight , Andrew Morton , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-scsi@vger.kernel.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-fsdevel@vger.kernel.org Date: Mon, 24 Jun 2019 22:17:40 -0700 In-Reply-To: <746098160c4ff6527d573d2af23c403b6d4e5b80.camel@d-silva.org> References: <20190625031726.12173-1-alastair@au1.ibm.com> <20190625031726.12173-5-alastair@au1.ibm.com> <3340b520a57e00a483eae170be97316c8d18c22c.camel@perches.com> <746098160c4ff6527d573d2af23c403b6d4e5b80.camel@d-silva.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.5-0ubuntu0.18.10.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2019-06-25 at 15:06 +1000, Alastair D'Silva wrote: > On Mon, 2019-06-24 at 22:01 -0700, Joe Perches wrote: > > On Tue, 2019-06-25 at 13:17 +1000, Alastair D'Silva wrote: > > > From: Alastair D'Silva > > > > > > In order to support additional features, rename hex_dump_to_buffer > > > to > > > hex_dump_to_buffer_ext, and replace the ascii bool parameter with > > > flags. > > [] > > > diff --git a/drivers/gpu/drm/i915/intel_engine_cs.c > > > b/drivers/gpu/drm/i915/intel_engine_cs.c > > [] > > > @@ -1338,9 +1338,8 @@ static void hexdump(struct drm_printer *m, > > > const void *buf, size_t len) > > > } > > > > > > WARN_ON_ONCE(hex_dump_to_buffer(buf + pos, len - pos, > > > - rowsize, sizeof(u32), > > > - line, sizeof(line), > > > - false) >= > > > sizeof(line)); > > > + rowsize, sizeof(u32), > > > line, > > > + sizeof(line)) >= > > > sizeof(line)); > > > > Huh? Why do this? [] > The change actions Jani's suggestion: > https://lkml.org/lkml/2019/6/20/343 I think you need to read this change again.