Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346519
b: refs/heads/master
c: 6fd59a8
h: refs/heads/master
i:
  346517: 6e43845
  346515: 85dacd2
  346511: 45322fa
v: v3
  • Loading branch information
Nick Bowler authored and Linus Torvalds committed Dec 18, 2012
1 parent c0f376e commit f77ce37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e71ec593201e1b367b5f22955e3db49e3c562e67
refs/heads/master: 6fd59a83b9261fa53eaf98fb5514abba504a3ea3
3 changes: 2 additions & 1 deletion trunk/lib/scatterlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ int __sg_alloc_table(struct sg_table *table, unsigned int nents,
unsigned int left;

#ifndef ARCH_HAS_SG_CHAIN
BUG_ON(nents > max_ents);
if (WARN_ON_ONCE(nents > max_ents))
return -EINVAL;
#endif

memset(table, 0, sizeof(*table));
Expand Down

0 comments on commit f77ce37

Please sign in to comment.