Skip to contentSkip to conversation

Incremental to kill warnings

PATCH New Tom Leete 1 participant 1 message May 6, 2001

lore
Share & tools
lore

Tom Leete

author
#0 lore raw

PATCH 1/1 Incremental to kill warnings

Hello,

I missed one, patch is incremental to the previous one.

Tom

$ diff -u include/asm-i386/checksum.h.orig include/asm-i386/checksum.h
--- include/asm-i386/checksum.h.orig	Sun May  6 07:05:35 2001
+++ include/asm-i386/checksum.h	Sun May  6 07:06:52 2001
@@ -100,10 +100,8 @@

static inline unsigned int csum_fold(unsigned int sum) {
- __asm__("
- addl %1, %0
- adcl $0xffff, %0
- "
+ __asm__("addl %1, %0\n\t"
+ "adcl $0xffff, %0\n"
: "=r" (sum)
: "r" (sum << 16), "0" (sum & 0xffff0000)
);

Signature · 1 line
The Daemons lurk and are dumb. -- Emerson