aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/pcmcia
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/pcmcia')
-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 7225f9eddf9d..045511acafc9 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)
44{ 44{
45 int i; 45 int i;
46 unsigned int crc = 0; 46 unsigned int crc = 0;
47 while (len--) 47 while (len--) {
48 crc ^= *p++; 48 crc ^= *p++;
49 for (i = 0; i < 8; i++) 49 for (i = 0; i < 8; i++)
50 crc = (crc >> 1) ^ ((crc & 1) ? 0xedb88320 : 0); 50 crc = (crc >> 1) ^ ((crc & 1) ? 0xedb88320 : 0);