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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240545 --- Comment #15 from Andrew Reiter <arr@watson.org> --- Created attachment 208169 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208169&action=edit updated patch with better coverage Ok, so the cocci 2 script seems to generate some FP cases that I had to change 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 needed. Tested with LINT and GENERIC... not much testing though. -- 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-240545-227-VO63qEMZ4g>
