From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965522AbcBCWJW (ORCPT ); Wed, 3 Feb 2016 17:09:22 -0500 Received: from www62.your-server.de ([213.133.104.62]:57335 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965168AbcBCWJV (ORCPT ); Wed, 3 Feb 2016 17:09:21 -0500 Message-ID: <56B27A8C.3040302@iogearbox.net> Date: Wed, 03 Feb 2016 23:09:16 +0100 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Joe Perches , "Jason A. Donenfeld" CC: Andrew Morton , linux@rasmusvillemoes.dk, andriy.shevchenko@linux.intel.com, LKML Subject: Re: [PATCH] vsprintf: do not append unset Scope ID to IPv6 References: <1454496118-26370-1-git-send-email-Jason@zx2c4.com> <56B26BF7.8070307@iogearbox.net> <1454536072.7291.133.camel@perches.com> In-Reply-To: <1454536072.7291.133.camel@perches.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/03/2016 10:47 PM, Joe Perches wrote: > On Wed, 2016-02-03 at 22:14 +0100, Jason A. Donenfeld wrote: >> The idea here is to be able to printk a sockaddr_in6, and have it show >> something that looks like what the user would naturally pass to >> getaddrinfo(3), which is entirely complete. >> >> However, I could be convinced that this kind of behavior belongs in >> it's own flag. Maybe I'll cook up a flag for that instead. > > I think that'd be best. Agreed. > Maybe using something like %pISG for this that > would optionally show these flow and scope values > only when non-zero. > > Something like: Looks good to me, having this as a single generic option seems even cleaner. Thanks!