projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: core: urb: Use struct_size() in kmalloc()
[linux-2.6-microblaze.git]
/
lib
/
scatterlist.c
diff --git
a/lib/scatterlist.c
b/lib/scatterlist.c
index
7c6096a
..
9ba349e
100644
(file)
--- a/
lib/scatterlist.c
+++ b/
lib/scatterlist.c
@@
-271,7
+271,7
@@
int __sg_alloc_table(struct sg_table *table, unsigned int nents,
if (nents == 0)
return -EINVAL;
-#if
ndef CONFIG_ARCH_HAS
_SG_CHAIN
+#if
def CONFIG_ARCH_NO
_SG_CHAIN
if (WARN_ON_ONCE(nents > max_ents))
return -EINVAL;
#endif