projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[LIB]: Knuth-Morris-Pratt textsearch algorithm
[firefly-linux-kernel-4.4.55.git]
/
lib
/
sort.c
diff --git
a/lib/sort.c
b/lib/sort.c
index ea3caedeabdb67f2ebe5199daa1086d7fbac0882..b73dbb0e7c83a4721fafbe4401c551a02e3225f9 100644
(file)
--- a/
lib/sort.c
+++ b/
lib/sort.c
@@
-90,7
+90,7
@@
int cmpint(const void *a, const void *b)
static int sort_test(void)
{
- int *a, i, r =
0
;
+ int *a, i, r =
1
;
a = kmalloc(1000 * sizeof(int), GFP_KERNEL);
BUG_ON(!a);