On Wed, Apr 29, 2015 at 3:00 PM, Mariusz Zaborski <osho...@freebsd.org> wrote: > Author: oshogbo > Date: Wed Apr 29 22:00:26 2015 > New Revision: 282250 > URL: https://svnweb.freebsd.org/changeset/base/282250 > > Log: > Nvlist functionality is not used within interrupt context, so we should > use M_WAITOK to allocate memory. > > Approved by: pjd (mentor) >
FYI, given you're passing M_WAITOK to malloc(9) you can now remove all the check for return type, as long as malloc(9) with M_WAITOK can never fail. -- Davide "There are no solved problems; there are only problems that are more or less solved" -- Henri Poincare _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"