Date: Tue, 08 Oct 2019 02:51:22 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 240545] patch to remove unneeded M_WAITOK return value checks Message-ID: <bug-240545-227-VO63qEMZ4g@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-240545-227@https.bugs.freebsd.org/bugzilla/> References: <bug-240545-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240545 --- Comment #15 from Andrew Reiter <arr@watson.org> --- Created attachment 208169 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208169&action= =3Dedit updated patch with better coverage Ok, so the cocci 2 script seems to generate some FP cases that I had to cha= nge and this is expressed in this attachment. There may be some other cases not found ... seems braces would play a factor (i.e., match on 'if () statement= '- like cases. I scanned the patch and seemed to see the cases that were being handled. The cases that seemed questionable, I looked and adjusted as neede= d. Tested with LINT and GENERIC... not much testing though. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240545-227-VO63qEMZ4g>