Re: [BUG] staging: r8188eu: driver stopped working with commit ("staging: r8188eu: add check for kzalloc")

From: Pavel Skripkin
Date: Wed Jun 08 2022 - 06:00:59 EST


Hi Martin,

On 6/8/22 12:27, Martin Kaiser wrote:
Hi Michael & Phil,

Thus wrote Michael Straube (straube.linux@xxxxxxxxx):

The driver does not work anymore on my system. In dmesg there is:

"r8188eu 1-4:1.0: _rtw_init_xmit_priv failed"

I bisected it to commit f94b47c6bde ("staging: r8188eu: add check for
kzalloc").

~/kernels/staging> git bisect bad
f94b47c6bde624d6c07f43054087607c52054a95 is the first bad commit

At the moment I have no time to look further into it.

See also

https://lore.kernel.org/linux-staging/YoyU4zXf45UpF1Tq@xxxxxxxxx/T/#mb5e56a285b8eb1ebb0e798462fc388cb02b4a7cc

Phil said in

https://lore.kernel.org/linux-staging/YoyU4zXf45UpF1Tq@xxxxxxxxx/T/#m7a21d460b2569f6b59965ecc3298a6337fa3458a


There is the posted patch [1]. I also have to apply it every time I want to test smth.

[1] https://lore.kernel.org/all/20220521204741.921-1-phil@xxxxxxxxxxxxxxxx/




With regards,
Pavel Skripkin