Skip to content

Commit

Permalink
[PATCH] add MODULE_* attributes to bit reversal library
Browse files Browse the repository at this point in the history
Add MODULE_* attributes to the new bit reversal library. Most notably
MODULE_LICENSE which prevents superfluous kernel tainting.

Signed-off-by: Cal Peake <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Cal Peake authored and Linus Torvalds committed Dec 10, 2006
1 parent edb16be commit 0258736
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/bitrev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
#include <linux/module.h>
#include <linux/bitrev.h>

MODULE_AUTHOR("Akinobu Mita <[email protected]>");
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,
Expand Down

0 comments on commit 0258736

Please sign in to comment.