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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 6 15:31:12 UTC 2019


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

--- Comment #7 from Andrew Reiter <arr at watson.org> ---
Created attachment 208142
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208142&action=edit
Coccinelle patch that generates a unified diff for this

Still need to look through / basic test the generated patch, but wanted to
share the Coccinelle spatch. It could probably be simplified, but seems to have
found a number of cases. It took a long time (at least 12 hours) to run on the
src/sys tree.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list