From: Jar Date: Mon, 27 Jun 2005 23:28:58 +0000 (-0700) Subject: [PATCH] pcmcia: documentation fix X-Git-Tag: v2.6.13-rc1~46^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a9a55243d4a5f41b0035d36457b87463aa232807;p=linux-2.6-omap-h63xx.git [PATCH] pcmcia: documentation fix Fix example hash generator in Documentation. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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);