Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756799AbbGGJiH (ORCPT ); Tue, 7 Jul 2015 05:38:07 -0400 Received: from lb2-smtp-cloud2.xs4all.net ([194.109.24.25]:45621 "EHLO lb2-smtp-cloud2.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756608AbbGGJiB (ORCPT ); Tue, 7 Jul 2015 05:38:01 -0400 Message-ID: <1436261876.20057.132.camel@tiscali.nl> Subject: Re: [PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature From: Paul Bolle To: Dexuan Cui Cc: gregkh@linuxfoundation.org, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, driverdev-devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, jasowang@redhat.com, kys@microsoft.com, haiyangz@microsoft.com Date: Tue, 07 Jul 2015 11:37:56 +0200 In-Reply-To: <1436194049-27829-1-git-send-email-decui@microsoft.com> References: <1436194049-27829-1-git-send-email-decui@microsoft.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.3 (3.16.3-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1131 Lines: 47 Just two nits. On ma, 2015-07-06 at 07:47 -0700, Dexuan Cui wrote: > --- /dev/null > +++ b/net/hv_sock/Kconfig > +config HYPERV_SOCK > + tristate "Microsoft Hyper-V Socket (EXPERIMENTAL)" > + depends on HYPERV > + default m > + help > + Hyper-V Socket is a socket protocol similar to TCP, allowing > + communication between a Linux guest and the host. > + > + To compile this driver as a module, choose M here: the module > + will be called hv_sock. If unsure, say N. It's a bit odd to advise to say N if one is unsure and set the default to 'm' at the same time. > --- /dev/null > +++ b/net/hv_sock/af_hvsock.c > +static int hvsock_init(void) > +{ > + [...] > +} > + > +static void hvsock_exit(void) > +{ > + [...] > +} > + > +module_init(hvsock_init); > +module_exit(hvsock_exit); Any specific reason not to mark these functions __init and __exit? Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/