Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] add MODULE_* attributes to bit reversal library

Add MODULE_* attributes to the new bit reversal library. Most notably
MODULE_LICENSE which prevents superfluous kernel tainting.

Signed-off-by: Cal Peake <cp@absolutedigital.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Cal Peake and committed by
Linus Torvalds
0258736a edb16bec

+4
+4
lib/bitrev.c
··· 2 2 #include <linux/module.h> 3 3 #include <linux/bitrev.h> 4 4 5 + MODULE_AUTHOR("Akinobu Mita <akinobu.mita@gmail.com>"); 6 + MODULE_DESCRIPTION("Bit ordering reversal functions"); 7 + MODULE_LICENSE("GPL"); 8 + 5 9 const u8 byte_rev_table[256] = { 6 10 0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0, 7 11 0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0,