Page MenuHomeFreeBSD

D3481.id8204.diff
No OneTemporary

D3481.id8204.diff

Index: sys/dev/ioat/ioat.c
===================================================================
--- sys/dev/ioat/ioat.c
+++ sys/dev/ioat/ioat.c
@@ -798,7 +798,7 @@
new_idx = (ioat->tail + i) & (new_size - 1);
ring[new_idx] = ioat_alloc_ring_entry(ioat);
- if (!ring[new_idx]) {
+ if (ring[new_idx] == NULL) {
while (i--) {
new_idx2 = (ioat->tail + i) &
(new_size - 1);
Index: sys/dev/ioat/ioat_test.c
===================================================================
--- sys/dev/ioat/ioat_test.c
+++ sys/dev/ioat/ioat_test.c
@@ -117,7 +117,7 @@
test = tx->test;
if (memcmp(tx->buf[0], tx->buf[1], tx->length) != 0) {
- ioat_log_message(0, "miscompare found\n");
+ ioat_log_message(0, "mismatch found\n");
test->status = IOAT_TEST_MISCOMPARE;
}
atomic_add_32(&test->num_completions, 1);
Index: tools/tools/ioat/Makefile
===================================================================
--- tools/tools/ioat/Makefile
+++ tools/tools/ioat/Makefile
@@ -1,7 +1,6 @@
# $FreeBSD$
PROG= ioatcontrol
-SRCS= ioatcontrol.c
MAN= ioatcontrol.8
CFLAGS+= -I${.CURDIR:H:H:H}/sys/dev/ioat
WARNS?= 6

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 22, 9:56 AM (18 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31969668
Default Alt Text
D3481.id8204.diff (1 KB)

Event Timeline