linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* include/asm-i386/checksum.h
@ 2001-07-03  6:50 Erik Meusel
  2001-07-03  7:41 ` include/asm-i386/checksum.h Keith Owens
  0 siblings, 1 reply; 8+ messages in thread
From: Erik Meusel @ 2001-07-03  6:50 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 533 bytes --]

Hi,

compiling the new 2.4.5 kernel with GCC 3.0 came with several errors and
warnings. One of the most ugly warnings was:

include/asm/checksum.h: warning: multi-line string literals are deprecated

The diff to version 2.4.5 of it is attached.

Regards,
Erik Meusel

P.S.: would it be possible to patch the menuconfig in that way, that it
does look in the whole include-path for the <ncurses.h> and relating
files? they aren't in /usr/include/ in my system and I'm tired of patching
linux/scripts/lxdialog/Makefile all the time. :)

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1657 bytes --]

--- include/asm-i386/checksum.h	Tue Feb  1 08:41:14 2000
+++ /scratch/backup/src/linux/include/asm/checksum.h	Tue Jul  3 08:35:27 2001
@@ -72,18 +72,18 @@
-	__asm__ __volatile__("
-	    movl (%1), %0
-	    subl $4, %2
-	    jbe 2f
-	    addl 4(%1), %0
-	    adcl 8(%1), %0
-	    adcl 12(%1), %0
-1:	    adcl 16(%1), %0
-	    lea 4(%1), %1
-	    decl %2
-	    jne	1b
-	    adcl $0, %0
-	    movl %0, %2
-	    shrl $16, %0
-	    addw %w2, %w0
-	    adcl $0, %0
-	    notl %0
-2:
+	__asm__ __volatile__("\
+	    movl (%1), %0 \
+	    subl $4, %2 \
+	    jbe 2f \
+	    addl 4(%1), %0 \
+	    adcl 8(%1), %0 \
+	    adcl 12(%1), %0 \
+1:	    adcl 16(%1), %0 \
+	    lea 4(%1), %1 \
+	    decl %2 \
+	    jne	1b \
+	    adcl $0, %0 \
+	    movl %0, %2 \
+	    shrl $16, %0 \
+	    addw %w2, %w0 \
+	    adcl $0, %0 \
+	    notl %0 \
+2: \
@@ -105,3 +105,3 @@
-	__asm__("
-		addl %1, %0
-		adcl $0xffff, %0
+	__asm__("\
+		addl %1, %0 \
+		adcl $0xffff, %0 \
@@ -121,5 +121,5 @@
-    __asm__("
-	addl %1, %0
-	adcl %2, %0
-	adcl %3, %0
-	adcl $0, %0
+    __asm__("\
+	addl %1, %0 \
+	adcl %2, %0 \
+	adcl %3, %0 \
+	adcl $0, %0 \
@@ -161,12 +161,12 @@
-	__asm__("
-		addl 0(%1), %0
-		adcl 4(%1), %0
-		adcl 8(%1), %0
-		adcl 12(%1), %0
-		adcl 0(%2), %0
-		adcl 4(%2), %0
-		adcl 8(%2), %0
-		adcl 12(%2), %0
-		adcl %3, %0
-		adcl %4, %0
-		adcl $0, %0
+	__asm__("\
+		addl 0(%1), %0 \
+		adcl 4(%1), %0 \
+		adcl 8(%1), %0 \
+		adcl 12(%1), %0 \
+		adcl 0(%2), %0 \
+		adcl 4(%2), %0 \
+		adcl 8(%2), %0 \
+		adcl 12(%2), %0 \
+		adcl %3, %0 \
+		adcl %4, %0 \
+		adcl $0, %0 \

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-07-05 19:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-03  6:50 include/asm-i386/checksum.h Erik Meusel
2001-07-03  7:41 ` include/asm-i386/checksum.h Keith Owens
2001-07-03 11:58   ` include/asm-i386/checksum.h Erik Meusel
2001-07-03 13:58     ` include/asm-i386/checksum.h J . A . Magallon
2001-07-03 14:05       ` include/asm-i386/checksum.h Erik Meusel
2001-07-03 19:16       ` include/asm-i386/checksum.h Erik Meusel
2001-07-05 19:08         ` arch/i386/kernel/semaphore.c Erik Meusel
2001-07-03 13:05   ` include/asm-i386/checksum.h Erik Meusel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).