than mailing the developers (or mailing lists) directly -- bugs that
are not entered into bugzilla tend to get forgotten about or ignored.
-444110 priv/guest_ppc_toIR.c:36198:31: warning: duplicated 'if' condition.
+170510 Don't warn about ioctl of size 0 without direction hint
+444110 priv/guest_ppc_toIR.c:36198:31: warning: duplicated 'if' condition.
To see details of a given bug, visit
https://bugs.kde.org/show_bug.cgi?id=XXXXXX
* drivers with a large number of strange ioctl
* commands becomes very tiresome.
*/
- } else if ((dir == _VKI_IOC_NONE) && size > 0) {
+ } else if (dir == _VKI_IOC_NONE && size > 0) {
static UWord unknown_ioctl[10];
static Int moans = sizeof(unknown_ioctl) / sizeof(unknown_ioctl[0]);
if (moans > 0 && !VG_(clo_xml)) {
unknown_ioctl[i] = ARG2;
moans--;
VG_(umsg)("Warning: noted but unhandled ioctl 0x%lx"
- " with no size/direction hints.\n", ARG2);
+ " with no direction hints.\n", ARG2);
VG_(umsg)(" This could cause spurious value errors to appear.\n");
VG_(umsg)(" See README_MISSING_SYSCALL_OR_IOCTL for "
"guidance on writing a proper wrapper.\n" );
- //VG_(get_and_pp_StackTrace)(tid, VG_(clo_backtrace_size));
return;
}
}
* drivers with a large number of strange ioctl
* commands becomes very tiresome.
*/
- } else if (/* size == 0 || */ dir == _VKI_IOC_NONE) {
+ } else if (dir == _VKI_IOC_NONE && size > 0) {
static UWord unknown_ioctl[10];
static Int moans = sizeof(unknown_ioctl) / sizeof(unknown_ioctl[0]);
unknown_ioctl[i] = request;
moans--;
VG_(umsg)("Warning: noted but unhandled ioctl 0x%lx"
- " with no size/direction hints.\n", request);
+ " with no direction hints.\n", request);
VG_(umsg)(" This could cause spurious value errors to appear.\n");
VG_(umsg)(" See README_MISSING_SYSCALL_OR_IOCTL for "
"guidance on writing a proper wrapper.\n" );
-Warning: noted but unhandled ioctl 0x.2345670 with no size/direction hints.
+Warning: noted but unhandled ioctl 0x.2345670 with no direction hints.
This could cause spurious value errors to appear.
See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
-Warning: noted but unhandled ioctl 0x.2345671 with no size/direction hints.
+Warning: noted but unhandled ioctl 0x.2345671 with no direction hints.
This could cause spurious value errors to appear.
See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
-Warning: noted but unhandled ioctl 0x.2345672 with no size/direction hints.
+Warning: noted but unhandled ioctl 0x.2345672 with no direction hints.
This could cause spurious value errors to appear.
See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
-Warning: noted but unhandled ioctl 0x.2345673 with no size/direction hints.
+Warning: noted but unhandled ioctl 0x.2345673 with no direction hints.
This could cause spurious value errors to appear.
See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
-Warning: noted but unhandled ioctl 0x.2345674 with no size/direction hints.
+Warning: noted but unhandled ioctl 0x.2345674 with no direction hints.
This could cause spurious value errors to appear.
See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
-Warning: noted but unhandled ioctl 0x.2345675 with no size/direction hints.
+Warning: noted but unhandled ioctl 0x.2345675 with no direction hints.
This could cause spurious value errors to appear.
See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
-Warning: noted but unhandled ioctl 0x.2345676 with no size/direction hints.
+Warning: noted but unhandled ioctl 0x.2345676 with no direction hints.
This could cause spurious value errors to appear.
See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
-Warning: noted but unhandled ioctl 0x.2345677 with no size/direction hints.
+Warning: noted but unhandled ioctl 0x.2345677 with no direction hints.
This could cause spurious value errors to appear.
See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
-Warning: noted but unhandled ioctl 0x.2345678 with no size/direction hints.
+Warning: noted but unhandled ioctl 0x.2345678 with no direction hints.
This could cause spurious value errors to appear.
See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
-Warning: noted but unhandled ioctl 0x.2345679 with no size/direction hints.
+Warning: noted but unhandled ioctl 0x.2345679 with no direction hints.
This could cause spurious value errors to appear.
See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.