Date: Sun, 13 Dec 2009 15:03:54 +0000 (UTC) From: Robert Noland <rnoland@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/drm drm_scatter.c Message-ID: <200912131504.nBDF48Zb000264@repoman.freebsd.org>
index | next in thread | raw e-mail
rnoland 2009-12-13 15:03:54 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/dev/drm drm_scatter.c
Log:
SVN rev 200475 on 2009-12-13 15:03:54Z by rnoland
MFC r198694,r198697
Some general cleanup of scatter/gather memory allocation
- We don't need to check malloc return values with M_WAITOK
- remove variables that we don't really need
- cleanup the error paths by just calling drm_sg_cleanup()
- fix drm_sg_cleanup() to be safe to call at any time
Revision Changes Path
1.10.2.2 +26 -45 src/sys/dev/drm/drm_scatter.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912131504.nBDF48Zb000264>
