From: George Spelvin Date: Wed, 6 Aug 2014 23:09:23 +0000 (-0700) Subject: lib: add lib/glob.c X-Git-Tag: omap-for-v3.17/fixes-against-rc2~137^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b01250856b25f4417c51aa33afc451fbf7da1484;p=pandora-kernel.git 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 Cc: Randy Dunlap Cc: Tejun Heo Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed