Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24 /crypto/digest.c

Filename:/crypto/digest.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.6.24-rc8  2.6.24-rc7  2.6.24-rc6  2.6.24-rc5  2.6.24-rc4  2.6.24-rc3 
(Following) 2.6.24-git1  2.6.24-git2  2.6.24-git3  2.6.24-git4  2.6.24-git5  2.6.24-git6 

Location
[  2.6.24
  [  crypto
     o  digest.c

Patch

diff --git a/crypto/digest.c b/crypto/digest.c
index 1bf7414..8871dec 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -41,7 +41,7 @@ static int update2(struct hash_desc *desc,
       return 0;
 
    for (;;) {
-      struct page *pg = sg->page;
+      struct page *pg = sg_page(sg);
       unsigned int offset = sg->offset;
       unsigned int l = sg->length;
 
@@ -77,7 +77,7 @@ static int update2(struct hash_desc *desc,
 
       if (!nbytes)
          break;
-      sg = sg_next(sg);
+      sg = scatterwalk_sg_next(sg);
    }
 
    return 0;


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.