Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146482827
D45496.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
713 B
Referenced Files
None
Subscribers
None
D45496.diff
View Options
diff --git a/sys/dev/hid/hidbus.c b/sys/dev/hid/hidbus.c
--- a/sys/dev/hid/hidbus.c
+++ b/sys/dev/hid/hidbus.c
@@ -604,7 +604,7 @@
static int
hidbus_intr_start(device_t bus, device_t child)
{
- MPASS(bus = device_get_parent(child));
+ MPASS(bus == device_get_parent(child));
struct hidbus_softc *sc = device_get_softc(bus);
struct hidbus_ivars *ivar = device_get_ivars(child);
struct hidbus_ivars *tlc;
@@ -630,7 +630,7 @@
static int
hidbus_intr_stop(device_t bus, device_t child)
{
- MPASS(bus = device_get_parent(child));
+ MPASS(bus == device_get_parent(child));
struct hidbus_softc *sc = device_get_softc(bus);
struct hidbus_ivars *ivar = device_get_ivars(child);
struct hidbus_ivars *tlc;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 4, 1:33 AM (8 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29220362
Default Alt Text
D45496.diff (713 B)
Attached To
Mode
D45496: hidbus(4): Fix wrong assertion of bus
Attached
Detach File
Event Timeline
Log In to Comment