[Bug 240545] patch to remove unneeded M_WAITOK return value checks

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 8 02:51:22 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240545

--- Comment #15 from Andrew Reiter <arr at 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.


More information about the freebsd-bugs mailing list