Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1315943ybi; Wed, 19 Jun 2019 18:15:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2c7q03QePag0/qF+GSoLJzhW/UVPWuDzXAGFrSFTaidLVxh5LWwv88j8pYNRpe/EIEelC X-Received: by 2002:a17:90a:fa12:: with SMTP id cm18mr131991pjb.137.1560993304231; Wed, 19 Jun 2019 18:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560993304; cv=none; d=google.com; s=arc-20160816; b=jHi5K1d+xw7+khEUHbi83Y/OLf5fv0/AOuH5QKLyo0RbU8IrSBoKgXc8jlQBDmTDYb ijvFLEqR41w0ZnEbIPRBUCzsGc530nK/DQoEsOb06lYq5ddHNZcclt4EUTIcQwRubTyQ KSEoZoobSaJtjpd50zLvU9J3ZOdcVy+RP3TCEl+Tq/3o8KcHws1xag6NGs3C413kvVIP slbil9ZIYB7domgnWzHEuKqjj1yXL0pyklnxwaasFnTOiYTsU5hBGDgCqZmIaWdxmiNE 9QQ38lTcDUugxxm0f2NWI+WPw+bFAPSs75tXnzjnU/zljQTDnpBCobpWzQM79h+kczJn khig== 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:dkim-signature; bh=bE8CEK9XF5gS8TOh85AxAU/C9Kuli1VnB7OwtZhe3gk=; b=lg8uBK33DG4ojZzJBlqKY++6fCjTTvejz2M+QiZJp8di/+g/yUAtelODxRZy3ZWbRN qNYbEOvJ1iQRPK5qP6CLdBIfkzBMeaVhKToFlyqMSZzTlL11IHt5cPicxnOUD/p7danw NGVmG4vYVyeevhb3zmpFvbzXHPS3kf9+BRLWP7urWAk7X84sAV7LbgucuTC+HHGA1rTo 6KDHiNmrf1wBaTcZke5WXvW+mfq8ouLlX9acHPNFpLaZ2o27wI8fJMmjb3kKpU0/OLWB 8I2qTgye8y1X1YGAD3R0qF5zbadU9gqVo2aTkD9+a/HHBvJJnIeUFzXJtcBElk4C93Mv MPQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@d-silva.org header.s=201810a header.b=RF6v98lS; 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 h187si18026192pfb.129.2019.06.19.18.14.47; Wed, 19 Jun 2019 18:15:04 -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; dkim=pass header.i=@d-silva.org header.s=201810a header.b=RF6v98lS; 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 S1731114AbfFTBOk (ORCPT + 99 others); Wed, 19 Jun 2019 21:14:40 -0400 Received: from ushosting.nmnhosting.com ([66.55.73.32]:42702 "EHLO ushosting.nmnhosting.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730815AbfFTBOk (ORCPT ); Wed, 19 Jun 2019 21:14:40 -0400 Received: from mail2.nmnhosting.com (unknown [202.169.106.97]) by ushosting.nmnhosting.com (Postfix) with ESMTPS id 69B9C2DC005B; Wed, 19 Jun 2019 21:14:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=d-silva.org; s=201810a; t=1560993276; bh=BpBuDfxeeGKTRli558OgjbbAAYwjKMdDNWO/akOC738=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=RF6v98lSsz7mEeMkL6nYM26bVYiaYsE5nhDTdpSgsSqeX/3zMCjAr4TqNQp9WIfv/ 86CC6Ye1PnKU2tVcKzoHi6p0ci6zxBOVgFO9n72C5iQz9+SB6K7/0nVDP/VyFCPlaY FLUcpUGGdTZdApXoRPpCqgMDcOcjY474Zn0XLgaGITdvorfwpUXmZDgQ6EAv2KEeeH hsDlwa55rOWcmyBEG1gJiqQFoKwd4vtesVH2ev+sFIs/P0K4fN8rAnPULx/aKlaW55 Xog4yR0aT8p5wNoiqCRJwH2iN+YfSZ4AvcdM+Q0rEd7JLhL6sB0ezZLT7TOwH1n+XN ppi/I6nDq4fWTCfaHlyIa6RXgMwHcCEeDMWqSuoySrahrXRNJvfvsk6ZLNMGqTQCf6 /Gw1UfiMqZwrY6h2/n+W7N7emw8D5oHjLS525cWVe0UaUk81hSiabY8yyHmHomHnoM AUP20jID/hZwCVjTNxW4G4AF+ve+rXXutokOzrxmk8TxeEt2H6fZk0j+hMnp6xmgCo ztA+5Y0Fln5ESkL9ZxaDLBIEGtIwITdDACn777F9Dh8IZerMjjbxrfAodkiKBcMQdq w+lJnV2rMVuDBufsyxzwpAWwXFQZuqAV7brmmdY/sAB+Gtg/np4gGpFCjb5kY2UnjQ glkSIphnG+gk/TjO0eDg5rys= Received: from adsilva.ozlabs.ibm.com (static-82-10.transact.net.au [122.99.82.10] (may be forged)) (authenticated bits=0) by mail2.nmnhosting.com (8.15.2/8.15.2) with ESMTPSA id x5K1E6f4079317 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NO); Thu, 20 Jun 2019 11:14:22 +1000 (AEST) (envelope-from alastair@d-silva.org) Message-ID: <9456ca2a4ae827635bb6d864e5095a9e51f2ac45.camel@d-silva.org> Subject: Re: [PATCH v3 0/7] Hexdump Enhancements From: "Alastair D'Silva" To: Joe Perches 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: Thu, 20 Jun 2019 11:14:06 +1000 In-Reply-To: References: <20190617020430.8708-1-alastair@au1.ibm.com> <9a000734375c0801fc16b71f4be1235f9b857772.camel@perches.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.2 (3.32.2-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail2.nmnhosting.com [10.0.1.20]); Thu, 20 Jun 2019 11:14:32 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-06-19 at 17:35 -0700, Joe Perches wrote: > On Thu, 2019-06-20 at 09:15 +1000, Alastair D'Silva wrote: > > On Wed, 2019-06-19 at 09:31 -0700, Joe Perches wrote: > > > On Mon, 2019-06-17 at 12:04 +1000, Alastair D'Silva wrote: > > > > From: Alastair D'Silva > > > > > > > > Apologies for the large CC list, it's a heads up for those > > > > responsible > > > > for subsystems where a prototype change in generic code causes > > > > a > > > > change > > > > in those subsystems. > > > > > > > > This series enhances hexdump. > > > > > > Still not a fan of these patches. > > > > I'm afraid there's not too much action I can take on that, I'm > > happy to > > address specific issues though. > > > > > > These improve the readability of the dumped data in certain > > > > situations > > > > (eg. wide terminals are available, many lines of empty bytes > > > > exist, > > > > etc). > > I think it's generally overkill for the desired uses. I understand where you're coming from, however, these patches make it a lot easier to work with large chucks of binary data. I think it makes more sense to have these patches upstream, even though committed code may not necessarily have all the features enabled, as it means that devs won't have to apply out-of-tree patches during development to make larger dumps manageable. > > > > Changing hexdump's last argument from bool to int is odd. > > > > > > > Think of it as replacing a single boolean with many booleans. > > I understand it. It's odd. > > I would rather not have a mixture of true, false, and apparently > random collections of bitfields like 0xd or 0b1011 or their > equivalent or'd defines. > Where's the mixture? What would you propose instead? -- Alastair D'Silva mob: 0423 762 819 skype: alastair_dsilva Twitter: @EvilDeece blog: http://alastair.d-silva.org