Re: [PATCH v2 2/6] staging: r8188eu: Remove wrapper around vfree

From: Greg KH
Date: Wed Aug 11 2021 - 12:45:59 EST


On Wed, Aug 11, 2021 at 08:44:12AM -0700, Guenter Roeck wrote:
> On Mon, Aug 02, 2021 at 02:27:17PM -0500, Larry Finger wrote:
> > This call is so simple that there is no need, or use, for a wrapper.
> >
>
> Except the wrapper was presumably there to map generic code to Linux
> code, and the patch doesn't add an include <linux/vmalloc.h> anywhere.
> This results in widespread build errrors such as
>
> drivers/staging/r8188eu/core/rtw_mlme.c: In function '_rtw_free_mlme_priv':
> drivers/staging/r8188eu/core/rtw_mlme.c:129:17: error: implicit declaration of function 'vfree'
>
> for all architectures where <linux/vmalloc.h> isn't included indirectly.

Has now been fixed up in my tree and will show up in the next
linux-next.

sorry about that,

greg k-h