Re: [PATCH v4] staging: r8188eu: fix potential memory leak in rtw_os_xmit_resource_alloc()

From: Xiaoke Wang
Date: Fri Sep 09 2022 - 20:06:34 EST


On Sat, Sep 10, 2022 01:31 AM, philipp.g.hortmann@xxxxxxxxx wrote:
> Hi,
>
> I cannot apply your patch:
>
> kernel@matrix-ESPRIMO-P710:~/Documents/git/kernels/staging$ cat
> ~/Downloads/\[PATCH\ v4\]\ staging\ r8188eu\ fix\ potential\ memory\
> leak\ in\ rtw_os_xmit_resource_alloc\(\).eml | git am
> Applying: staging: r8188eu: fix potential memory leak in
> rtw_os_xmit_resource_alloc()
> error: drivers/staging/r8188eu/os_dep/xmit_linux.c: does not exist in index
> Patch failed at 0001 staging: r8188eu: fix potential memory leak in
> rtw_os_xmit_resource_alloc()
>
> branch: staging-next
> repository: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git

Oh, sorry. I rebased according to the main branch.
I noticed that in staging-next, the original code has been moved to
"drivers/staging/r8188eu/core/rtw_xmit.c".
Later I will rebase and resend it.

Regards,
Xiaoke Wang

>
> Sorry
>
> Bye Philipp