Date: Sun, 13 Dec 2009 15:12:40 +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: <200912131513.nBDFD5BS001019@repoman.freebsd.org>
index | next in thread | raw e-mail
rnoland 2009-12-13 15:12:40 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/drm drm_scatter.c
Log:
SVN rev 200477 on 2009-12-13 15:12:40Z 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.3.2.6 +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?200912131513.nBDFD5BS001019>
