https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209636
Bug ID: 209636
Summary: usr/src/sys/dev/usb/controller/generic_ohci.c:169:
possible bad size ?
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: usb
Assignee: [email protected]
Reporter: [email protected]
[usr/src/sys/dev/usb/controller/generic_ohci.c:169]: (warning) Size of pointer
'clkp' used instead of size of its data.
Source code is
clkp = malloc(sizeof(clkp), M_DEVBUF, M_WAITOK | M_ZERO);
Maybe better code
clkp = malloc(sizeof(*clkp), M_DEVBUF, M_WAITOK | M_ZERO);
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"