答复: 答复: [PATCH v1] usb: gadget: u_serial: check Null pointer in EP callback

From: 胡连勤
Date: Mon Aug 19 2024 - 04:48:47 EST


Hello linux community expert:

>> >>I think this has been reported previously, and different patches have been proposed, have you searched the archives?
>> > I haven't seen the patch given below before, I will read it carefully.
>> > I searched for Linux mainline commits before submitting, but I only compared them according to the crash stack information and did not notice the following commit.
>> I checked the stack trace again. The problem we encountered seems different from the problem reported in the link below, and they are not caused by the same reason.
>>

>Did you apply the patch? as suggested, is the test moving from one gadget to the other?
We apply the patch into kernel 5.15 and ran a stress test, and the problem did not recur.
Connect the phone to the PC via a USB cable and run the monkey test (run an apk and click on it at will on the phone interface).

Thanks