Commit 85a375c
drivers/serial: check the remote device before get name
| #0 0x2119bf1 in rpmsg_get_cpuname rptun/rptun.c:1157
| #1 0x24f97bd in uart_rpmsg_device_destroy serial/uart_rpmsg.c:342
| #2 0x2117d56 in rptun_dev_stop rptun/rptun.c:883
| apache#3 0x21181d7 in rptun_do_ioctl rptun/rptun.c:922
| apache#4 0x2119721 in rptun_ioctl_foreach rptun/rptun.c:1086
Signed-off-by: chao an <anchao@xiaomi.com>1 parent 93ff6f9 commit 85a375c
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
| 343 | + | |
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| |||
0 commit comments