Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760666AbWLJLLi (ORCPT ); Sun, 10 Dec 2006 06:11:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760670AbWLJLLi (ORCPT ); Sun, 10 Dec 2006 06:11:38 -0500 Received: from livid.absolutedigital.net ([66.92.46.173]:3200 "EHLO mx2.absolutedigital.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760666AbWLJLLh (ORCPT ); Sun, 10 Dec 2006 06:11:37 -0500 Date: Sun, 10 Dec 2006 06:11:33 -0500 (EST) From: Cal Peake To: Linus Torvalds cc: Kernel Mailing List , Andrew Morton , Akinobu Mita Subject: [PATCH] add MODULE_* attributes to bit reversal library Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1053 Lines: 30 Without a MODULE_LICENSE attrib in lib/bitrev.c we get this yuckiness: bitrev: module license 'unspecified' taints kernel. From: Cal Peake Add MODULE_* attributes to the new bit reversal library. Most notably MODULE_LICENSE which prevents superfluous kernel tainting. Signed-off-by: Cal Peake --- lib/bitrev.c~orig 2006-12-08 18:11:00.000000000 -0500 +++ lib/bitrev.c 2006-12-10 05:56:46.000000000 -0500 @@ -2,6 +2,10 @@ #include #include +MODULE_AUTHOR("Akinobu Mita "); +MODULE_DESCRIPTION("Bit ordering reversal functions"); +MODULE_LICENSE("GPL"); + const u8 byte_rev_table[256] = { 0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0, 0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0, - 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/