Date: Thu, 19 May 2016 10:53:11 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 209636] usr/src/sys/dev/usb/controller/generic_ohci.c:169: possible bad size ? Message-ID: <bug-209636-17@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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: freebsd-usb@FreeBSD.org Reporter: dcb314@hotmail.com [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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209636-17>
