Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75992
b: refs/heads/master
c: 6e05077
h: refs/heads/master
v: v3
  • Loading branch information
Herbert Xu committed Jan 10, 2008
1 parent 915b583 commit 3da3b4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce5bd4aca3c467936370846119b7f3daf9ccea78
refs/heads/master: 6e050778c5d08a97d5d98f7cb62bc503e872615c
3 changes: 3 additions & 0 deletions trunk/crypto/scatterwalk.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg,
struct scatter_walk walk;
unsigned int offset = 0;

if (!nbytes)
return;

for (;;) {
scatterwalk_start(&walk, sg);

Expand Down

0 comments on commit 3da3b4a

Please sign in to comment.