lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 10 Jun 2015 09:54:01 +0200
From:	Paul Bolle <pebolle@...cali.nl>
To:	Noam Camus <noamc@...hip.com>
Cc:	netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
	Alexey.Brodkin@...opsys.com, vgupta@...opsys.com,
	giladb@...hip.com, cmetcalf@...hip.com,
	Tal Zilcer <talz@...hip.com>
Subject: Re: [PATCH] NET: Add ezchip ethernet driver

Just a nit and a question.

On Tue, 2015-06-09 at 15:44 +0300, Noam Camus wrote:
> --- /dev/null
> +++ b/drivers/net/ethernet/ezchip/Kconfig

> +config NET_VENDOR_EZCHIP
> +	bool "EZchip devices"
> +	default y
> +	---help---
> +	  If you have a network (Ethernet) device belonging to this class, say Y
> +	  and read the Ethernet-HOWTO, available from
> +	  <http://www.tldp.org/docs.html#howto>.
> +
> +	  Note that the answer to this question doesn't directly affect the
> +	  kernel: saying N will just cause the configurator to skip all
> +	  the questions about EZchip devices. If you say Y, you will be asked for
> +	  your specific device in the following questions.
> +
> +if NET_VENDOR_EZCHIP
> +
> +config EZCHIP_NPS_LAN
> +	tristate "EZchip NPS LAN support"
> +	default y

It's not common for drivers to default to 'y'. Any specific reason to do
so here?

> +	---help---
> +	  Simple LAN device without multicast support.
> +	  Device performance is not high and may be used for
> +	  debug or management purposes.
> +	  Device supports interrupts for RX and TX(end).
> +	  Device does not support NAPI and also does not support DMA.
> +
> +endif

> --- /dev/null
> +++ b/drivers/net/ethernet/ezchip/nps_enet.c

> + * This program is free software; you can redistribute it and/or modify it
> + * under the terms and conditions of the GNU General Public License,
> + * version 2, as published by the Free Software Foundation.
> + *
> + * This program is distributed in the hope it will be useful, but WITHOUT
> + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> + * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
> + * more details.
> + *
> + * The full GNU General Public License is included in this distribution in
> + * the file called "COPYING".

This states the license is GPL v2.

> +MODULE_LICENSE("GPL");

And, according to include/linux/module.h, this states the license is GPL
v2 or later. So I think that either the comment at the top of this file
or the ident used in the MODULE_LICENSE() macro needs to change.


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists