Re: [PATCH] ch341: Replace memory allocations with stack storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23.02.20 11:02, Greg KH wrote:
> You should have gotten a runtime error with this change if you tested
> it.  Did that not happen somehow?
> 
> As Johan said, all USB data has to be dynamically allocated.
I just tried again and now I'm getting one: "transfer buffer is on
stack". Clearly something went wrong when I tried the change--in all
likelyhook my test environment was using an old build.

I'm sorry for not noticing/testing properly before sending.

Michael



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux