浏览代码

[NET]: Fix ipl=>ihl typo in ip_fast_csum

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Thomas Graf 20 年之前
父节点
当前提交
2c656491e9
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      include/asm-i386/checksum.h
  2. 1 1
      include/asm-m32r/checksum.h
  3. 1 1
      include/asm-x86_64/checksum.h

+ 1 - 1
include/asm-i386/checksum.h

@@ -83,7 +83,7 @@ static inline unsigned short ip_fast_csum(unsigned char * iph,
 	    "adcl $0, %0	;\n"
 	    "adcl $0, %0	;\n"
 	    "notl %0		;\n"
 	    "notl %0		;\n"
 "2:				;\n"
 "2:				;\n"
-	/* Since the input registers which are loaded with iph and ipl
+	/* Since the input registers which are loaded with iph and ihl
 	   are modified, we must also specify them as outputs, or gcc
 	   are modified, we must also specify them as outputs, or gcc
 	   will assume they contain their original values. */
 	   will assume they contain their original values. */
 	: "=r" (sum), "=r" (iph), "=r" (ihl)
 	: "=r" (sum), "=r" (iph), "=r" (ihl)

+ 1 - 1
include/asm-m32r/checksum.h

@@ -105,7 +105,7 @@ static inline unsigned short ip_fast_csum(unsigned char * iph,
 		"	addx	%0, %3 \n"
 		"	addx	%0, %3 \n"
 		"	.fillinsn\n"
 		"	.fillinsn\n"
 		"2: \n"
 		"2: \n"
-	/* Since the input registers which are loaded with iph and ipl
+	/* Since the input registers which are loaded with iph and ihl
 	   are modified, we must also specify them as outputs, or gcc
 	   are modified, we must also specify them as outputs, or gcc
 	   will assume they contain their original values. */
 	   will assume they contain their original values. */
 	: "=&r" (sum), "=r" (iph), "=r" (ihl), "=&r" (tmpreg0), "=&r" (tmpreg1)
 	: "=&r" (sum), "=r" (iph), "=r" (ihl), "=&r" (tmpreg0), "=&r" (tmpreg1)

+ 1 - 1
include/asm-x86_64/checksum.h

@@ -64,7 +64,7 @@ static inline unsigned short ip_fast_csum(unsigned char *iph, unsigned int ihl)
 		"  adcl $0, %0\n"
 		"  adcl $0, %0\n"
 		"  notl %0\n"
 		"  notl %0\n"
 		"2:"
 		"2:"
-	/* Since the input registers which are loaded with iph and ipl
+	/* Since the input registers which are loaded with iph and ihl
 	   are modified, we must also specify them as outputs, or gcc
 	   are modified, we must also specify them as outputs, or gcc
 	   will assume they contain their original values. */
 	   will assume they contain their original values. */
 	: "=r" (sum), "=r" (iph), "=r" (ihl)
 	: "=r" (sum), "=r" (iph), "=r" (ihl)