Module Name:    src
Committed By:   msaitoh
Date:           Thu Jul 25 11:10:38 UTC 2019

Modified Files:
        src/sys/dev/usb: if_uralreg.h

Log Message:
 Use unsigned (RAL_RF_BUSY). Found by KUBSan.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/usb/if_uralreg.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/dev/usb/if_uralreg.h
diff -u src/sys/dev/usb/if_uralreg.h:1.4 src/sys/dev/usb/if_uralreg.h:1.5
--- src/sys/dev/usb/if_uralreg.h:1.4	Sat Apr 23 10:15:31 2016
+++ src/sys/dev/usb/if_uralreg.h	Thu Jul 25 11:10:38 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_uralreg.h,v 1.4 2016/04/23 10:15:31 skrll Exp $ */
+/*	$NetBSD: if_uralreg.h,v 1.5 2019/07/25 11:10:38 msaitoh Exp $ */
 /*	$OpenBSD: if_ralreg.h,v 1.5 2005/04/01 13:13:43 damien Exp $  */
 
 /*-
@@ -194,7 +194,7 @@ struct ural_rx_desc {
 } __packed;
 
 #define RAL_RF_LOBUSY	(1 << 15)
-#define RAL_RF_BUSY	(1 << 31)
+#define RAL_RF_BUSY	(1U << 31)
 #define RAL_RF_20BIT	(20 << 24)
 
 #define RAL_RF1	0

Reply via email to