DRM-vmwgfx: Deletion of an unnecessary check before the function call "vfree"

John Hunter zhjwpku at gmail.com
Wed Jul 8 17:08:28 PDT 2015


On Thu, Jul 9, 2015 at 12:55 AM, SF Markus Elfring <
elfring at users.sourceforge.net> wrote:

> > Reviewed-by: Zhao Junwang <zhjwpku at gmail.com>
> >
> > kfree will check that.
>
> How does this feedback fit to a check before a call
> of the vfree() function?
>
> I might have made a mistake, the ctl^] lead me to the vfree in mm/nommu.c,
there is also a vfree() function in mm/vmalloc.c.

Anyway, I think the catch is reasonable.


> Regards,
> Markus
>



-- 
Best regards
Junwang Zhao
Microprocessor Research and Develop Center
Department of Computer Science &Technology
Peking University
Beijing, 100871, PRC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150709/c688e5f5/attachment.html>


More information about the dri-devel mailing list