Module Name:    src
Committed By:   thorpej
Date:           Sat Apr 24 18:07:08 UTC 2021

Modified Files:
        src/sys/sys [thorpej-cfargs]: device.h

Log Message:
Use a value for CFARG_EOL that is not likely to be encountered randomly in
nature.  Suggested by dholland.


To generate a diff of this commit:
cvs rdiff -u -r1.167.2.9 -r1.167.2.10 src/sys/sys/device.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/device.h
diff -u src/sys/sys/device.h:1.167.2.9 src/sys/sys/device.h:1.167.2.10
--- src/sys/sys/device.h:1.167.2.9	Sun Apr  4 19:23:53 2021
+++ src/sys/sys/device.h	Sat Apr 24 18:07:07 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: device.h,v 1.167.2.9 2021/04/04 19:23:53 thorpej Exp $ */
+/* $NetBSD: device.h,v 1.167.2.10 2021/04/24 18:07:07 thorpej Exp $ */
 
 /*
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -535,7 +535,8 @@ typedef enum {
 	CFARG_LOCATORS		= 3,	/* locators array */
 	CFARG_DEVHANDLE		= 4,	/* devhandle_t (by value) */
 
-	CFARG_EOL		= 0xffffffff
+	/* ...a value not likely to occur randomly in the wild. */
+	CFARG_EOL		= 0xeeeeeeee
 } cfarg_t;
 
 #ifdef _KERNEL

Reply via email to