]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
[PATCH] pcmcia: documentation fix
authorJar <jar@pcuf.fi>
Mon, 27 Jun 2005 23:28:58 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 01:03:22 +0000 (18:03 -0700)
Fix example hash generator in Documentation.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/pcmcia/devicetable.txt

index 7225f9eddf9d0c73c2e351a62ca99835d5198cd2..045511acafc98b4f336960ced2a2e4c2ebf8638c 100644 (file)
@@ -44,7 +44,7 @@ unsigned int crc32(unsigned char const *p, unsigned int len)
 {
        int i;
        unsigned int crc = 0;
-       while (len--)
+       while (len--) {
                crc ^= *p++;
                for (i = 0; i < 8; i++)
                        crc = (crc >> 1) ^ ((crc & 1) ? 0xedb88320 : 0);