summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJar <jar@pcuf.fi>2005-06-27 16:28:58 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-27 18:03:22 -0700
commita9a55243d4a5f41b0035d36457b87463aa232807 (patch)
treeb56ed39ed7872275f9a5fc89c80e463554b0f03f /Documentation
parent2ad0a0a793cbd87a87488d59abc744374669498f (diff)
downloadlinux-3.10-a9a55243d4a5f41b0035d36457b87463aa232807.tar.gz
linux-3.10-a9a55243d4a5f41b0035d36457b87463aa232807.tar.bz2
linux-3.10-a9a55243d4a5f41b0035d36457b87463aa232807.zip
[PATCH] pcmcia: documentation fix
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/pcmcia/devicetable.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/pcmcia/devicetable.txt b/Documentation/pcmcia/devicetable.txt
index 7225f9eddf9..045511acafc 100644
--- a/Documentation/pcmcia/devicetable.txt
+++ b/Documentation/pcmcia/devicetable.txt
@@ -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);