Re: svn commit: r248060 - in head/sys/dev/drm2: . ttm

2013-03-11 Thread Jean-Sébastien Pédron
Hi Eitan! On 08.03.2013 19:14, Eitan Adler wrote: > On 8 March 2013 13:11, Jean-Sebastien Pedron wrote: >> @@ -125,8 +125,6 @@ static ssize_t ttm_mem_zone_store(struct >> >> static void ttm_mem_global_kobj_release(struct ttm_mem_global *glob) >> { >> - >> - free(glob, M_TTM_ZONE); >> } >

Re: svn commit: r248060 - in head/sys/dev/drm2: . ttm

2013-03-11 Thread Konstantin Belousov
On Mon, Mar 11, 2013 at 09:39:59AM +0100, Jean-S??bastien P??dron wrote: > Hi Eitan! > > On 08.03.2013 19:14, Eitan Adler wrote: > > On 8 March 2013 13:11, Jean-Sebastien Pedron wrote: > >> @@ -125,8 +125,6 @@ static ssize_t ttm_mem_zone_store(struct > >> > >> static void ttm_mem_global_kobj_rel

Re: svn commit: r248060 - in head/sys/dev/drm2: . ttm

2013-03-08 Thread Eitan Adler
On 8 March 2013 13:11, Jean-Sebastien Pedron wrote: > @@ -125,8 +125,6 @@ static ssize_t ttm_mem_zone_store(struct > > static void ttm_mem_global_kobj_release(struct ttm_mem_global *glob) > { > - > - free(glob, M_TTM_ZONE); > } Can this function now be removed, because it appears to be e

svn commit: r248060 - in head/sys/dev/drm2: . ttm

2013-03-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Mar 8 18:11:02 2013 New Revision: 248060 URL: http://svnweb.freebsd.org/changeset/base/248060 Log: drm: Fix a call to free(9) with an incorrect malloc type While here, the call to free(9) is moved to drm_global.c, near the initial malloc(9). Reviewed by: