diff options
author | George Spelvin <linux@horizon.com> | 2014-08-07 01:09:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 03:01:24 +0200 |
commit | b01250856b25f4417c51aa33afc451fbf7da1484 (patch) | |
tree | d11b68368d63c1ae99814b930ce664d7fd3fa8e6 /lib/crc-t10dif.c | |
parent | zlib: clean up some dead code (diff) | |
download | linux-b01250856b25f4417c51aa33afc451fbf7da1484.tar.xz linux-b01250856b25f4417c51aa33afc451fbf7da1484.zip |
lib: add lib/glob.c
This is a helper function from drivers/ata/libata_core.c, where it is
used to blacklist particular device models. It's being moved to lib/ so
other drivers may use it for the same purpose.
This implementation in non-recursive, so is safe for the kernel stack.
[akpm@linux-foundation.org: fix sparse warning]
Signed-off-by: George Spelvin <linux@horizon.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/crc-t10dif.c')
0 files changed, 0 insertions, 0 deletions