Logo
Explore Help
Register Sign In
Evolution-x-devices/kernel_google_b1c1
2
0
Fork 0
You've already forked kernel_google_b1c1
mirror of https://github.com/Evolution-X-Devices/kernel_google_b1c1 synced 2026-02-08 18:59:00 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
cda3696d3d26eb798c94de0dab5bd66ddb5627cb
kernel_google_b1c1/include/linux/glob.h

10 lines
217 B
C
Raw Normal View History

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>
2014-08-06 16:09:23 -07:00
#ifndef _LINUX_GLOB_H
#define _LINUX_GLOB_H
#include <linux/types.h> /* For bool */
#include <linux/compiler.h> /* For __pure */
bool __pure glob_match(char const *pat, char const *str);
#endif /* _LINUX_GLOB_H */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 105ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API