From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755955Ab2GXRIh (ORCPT ); Tue, 24 Jul 2012 13:08:37 -0400 Received: from mail.skyhub.de ([78.46.96.112]:54841 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754953Ab2GXRIf (ORCPT ); Tue, 24 Jul 2012 13:08:35 -0400 Date: Tue, 24 Jul 2012 19:08:32 +0200 From: Borislav Petkov To: KY Srinivasan Cc: "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" , "virtualization@lists.osdl.org" , "olaf@aepfle.de" , "apw@canonical.com" , "netdev@vger.kernel.org" , "ben@decadent.org.uk" Subject: Re: [PATCH 09/17] Tools: hv: Represent the ipv6 mask using CIDR notation Message-ID: <20120724170832.GB13749@x1.osrc.amd.com> Mail-Followup-To: Borislav Petkov , KY Srinivasan , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" , "virtualization@lists.osdl.org" , "olaf@aepfle.de" , "apw@canonical.com" , "netdev@vger.kernel.org" , "ben@decadent.org.uk" References: <1343145672-3641-1-git-send-email-kys@microsoft.com> <1343145701-3691-1-git-send-email-kys@microsoft.com> <1343145701-3691-9-git-send-email-kys@microsoft.com> <20120724160108.GA13749@x1.osrc.amd.com> <426367E2313C2449837CD2DE46E7EAF9236A7733@SN2PRD0310MB382.namprd03.prod.outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <426367E2313C2449837CD2DE46E7EAF9236A7733@SN2PRD0310MB382.namprd03.prod.outlook.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 24, 2012 at 04:53:50PM +0000, KY Srinivasan wrote: > This code is a user-level daemon that will be compiled outside of the > kernel. I did not want to include Kernel header files for this one > function and deal with all the dependencies that will have to be dealt > with. Ah, I missed the tools/ prefix in the patch, sorry. Well, FWIW, we have hweight32 in too and there was a patchset preparing a generic kernel tools library where tools can share functions but the author doesn't have time to dust the patches off and get it upstream... :-). I guess having a local function is the easiest for now. Thanks. -- Regards/Gruss, Boris.