From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang Subject: Re: Fwd: Re: [PATCH] net: ipv6: change %8s to %s for rt->dst.dev->name in seq_printf of rt6_info_route Date: Tue, 27 Nov 2012 13:52:28 +0800 Message-ID: <50B4551C.6030505@asianux.com> References: <50ADE447.8030300@asianux.com> <50AEEF08.4000707@asianux.com> <50B430B5.1080700@gmail.com> <50B43F12.1090709@asianux.com> <50B44563.8060905@asianux.com> <50B45265.9070303@asianux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Eric Dumazet , David Miller , netdev To: Shan Wei Return-path: Received: from intranet.asianux.com ([58.214.24.6]:37483 "EHLO intranet.asianux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754075Ab2K0Fvd (ORCPT ); Tue, 27 Nov 2012 00:51:33 -0500 In-Reply-To: <50B45265.9070303@asianux.com> Sender: netdev-owner@vger.kernel.org List-ID: =D3=DA 2012=C4=EA11=D4=C227=C8=D5 13:40, Chen Gang =D0=B4=B5=C0: >=20 > and now, I think: > A) both input and output through /proc/* are for os api level. > B) but both %8s and %s do not change the output interface format (i= ncluding contents, topology, separator mark, space redundancy). > C) so it is belong to 'User Experience', not belong to os api. >=20 > welcome any another members to giving suggestions and completions. >=20 > thanks. >=20 > :-) >=20 completion: 8 right alignment is not belong to interface format. if it was belong to interface format, it would cause correctness issue (the name len may be larger than 8= ). so if "8 right alignment" is belong to os api, it means the api is = not correct, need change. :-) --=20 Chen Gang Asianux Corporation