summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sbni/if_sbni.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sbni/if_sbni.c b/sys/dev/sbni/if_sbni.c
index e5d5417..6ea0ec9 100644
--- a/sys/dev/sbni/if_sbni.c
+++ b/sys/dev/sbni/if_sbni.c
@@ -1222,9 +1222,9 @@ calc_crc32(u_int32_t crc, caddr_t p, u_int len)
"xorb 2(%%esi), %%bl\n"
"xorl (%%edi,%%ebx,4), %%eax\n"
"2:\n"
- :
- : "a" (_crc), "g" (p), "g" (len)
- : "ax", "bx", "cx", "dx", "si", "di"
+ : "=a" (_crc)
+ : "g" (p), "g" (len)
+ : "bx", "cx", "dx", "si", "di"
);
return (_crc);
OpenPOWER on IntegriCloud