Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752172AbXBDIRH (ORCPT ); Sun, 4 Feb 2007 03:17:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752174AbXBDIRG (ORCPT ); Sun, 4 Feb 2007 03:17:06 -0500 Received: from tag.witbe.net ([81.88.96.48]:49979 "EHLO tag.witbe.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752172AbXBDIRF (ORCPT ); Sun, 4 Feb 2007 03:17:05 -0500 Reply-To: From: "Paul Rolland" To: "'Jan Engelhardt'" Cc: "'Linux Kernel Mailing List'" , "'Andrew Morton'" , "'Jon Masters'" , "'Alexey Dobriyan'" Subject: RE: [PATCH] Ban module license tag string termination trick Date: Sun, 4 Feb 2007 09:14:57 +0100 Organization: AS2917.net Message-ID: <006401c74834$8f927d70$2101a8c0@donald> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: thread-index: AcdG/d9Hk6bdXZaZQmujZGgtrv4yiABNmosg Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 582 Lines: 16 > So what (legally) happens when someone does > MODULE_IS_UNDER_GPL_LICENSE(2), (~0) or (-1)? Does the judge > get confused? > Then better use strings and an appropriate check. Please let me not believe it's not possible to have a compilation test on that that would issue a #error if param is not one of the acceptable value... Paul - 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/