From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933876AbcBCVOy (ORCPT ); Wed, 3 Feb 2016 16:14:54 -0500 Received: from mga03.intel.com ([134.134.136.65]:58590 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932699AbcBCVOx (ORCPT ); Wed, 3 Feb 2016 16:14:53 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,391,1449561600"; d="scan'208";a="904995045" Message-ID: <1454534000.31169.64.camel@linux.intel.com> Subject: Re: [PATCH] vsprintf: flowinfo in IPv6 is optional too From: Andy Shevchenko To: "Jason A. Donenfeld" , Joe Perches Cc: Andrew Morton , linux@rasmusvillemoes.dk, LKML , dborkman@redhat.com Date: Wed, 03 Feb 2016 23:13:20 +0200 In-Reply-To: References: <1454496118-26370-1-git-send-email-Jason@zx2c4.com> <1454501601-28480-1-git-send-email-Jason@zx2c4.com> <1454522199.7291.103.camel@perches.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2016-02-03 at 22:09 +0100, Jason A. Donenfeld wrote: > On Wed, Feb 3, 2016 at 6:56 PM, Joe Perches wrote: > > Why does this matter at all? > > Because I want to printk a sockaddr_in6, and have the most complete > yet valid and standard representation I can. Displaying a /0 when > there is no flow is confusing, ugly, and unhelpful, not to mention it > doesn't accurately reflect what's happening. A flowlabel of zero > means > no flowlabel. So, where do you want to put your result? dmesg? User-space application via sysfs?  Seems like here is discussion debug vs. release version of printed data in the kernel. -- Andy Shevchenko Intel Finland Oy