On 04/11/2024 16:32, Tiwei Bie wrote:
The drvdata is not available in release. Let's just use container_of()
to get the vector_device instance. Otherwise, removing a vector device
will result in a crash:
RIP: 0033:vector_device_release+0xf/0x50
RSP: e187bc40 EFLAGS: 00010202
RAX: 000
The drvdata is not available in release. Let's just use container_of()
to get the vector_device instance. Otherwise, removing a vector device
will result in a crash:
RIP: 0033:vector_device_release+0xf/0x50
RSP: e187bc40 EFLAGS: 00010202
RAX: 60028f61 RBX: 600f1baf RCX: 00