Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753559AbYC3SBl (ORCPT ); Sun, 30 Mar 2008 14:01:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751753AbYC3SBc (ORCPT ); Sun, 30 Mar 2008 14:01:32 -0400 Received: from smtp6.pp.htv.fi ([213.243.153.40]:45269 "EHLO smtp6.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751554AbYC3SBb (ORCPT ); Sun, 30 Mar 2008 14:01:31 -0400 Date: Sun, 30 Mar 2008 21:01:19 +0300 From: Adrian Bunk To: rusty@rustcorp.com.au, sam@ravnborg.org Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: wish: build time warning for missing MODULE_LICENSE Message-ID: <20080330180119.GC1575@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 783 Lines: 23 I just fixed a bug where I had accidentally removed a MODULE_LICENSE() from a file. The problem is that such bugs are currently not discovered until someone actually runs a kernel with this module loaded. Could we get a build time warning/error for a missing MODULE_LICENSE? TIA Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- 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/