Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144591103
D3481.1775615133.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
738 B
Referenced Files
None
Subscribers
None
D3481.1775615133.diff
View Options
Index: head/sys/dev/ioat/ioat.c
===================================================================
--- head/sys/dev/ioat/ioat.c
+++ head/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: head/tools/tools/ioat/Makefile
===================================================================
--- head/tools/tools/ioat/Makefile
+++ head/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
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 2:25 AM (10 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28297343
Default Alt Text
D3481.1775615133.diff (738 B)
Attached To
Mode
D3481: ioat(4): Minor style cleanups
Attached
Detach File
Event Timeline
Log In to Comment