diff options
| author | Sean Wang <sean.wang@mediatek.com> | 2021-06-17 04:39:19 +0300 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2021-06-19 10:22:51 +0300 |
| commit | 723885a6750102e5d807429b3d06aa6b0d29cc66 (patch) | |
| tree | d8bbb801469166d95ae9742ddbeaf2051abb3a2b /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 78b0328ff8c46fce64eb969d2572c3f631735dc1 (diff) | |
| download | linux-723885a6750102e5d807429b3d06aa6b0d29cc66.tar.xz | |
mt76: mt7921: fix the coredump is being truncated
Fix the maximum size of the coredump generated with current mt7921
firmware. Otherwise, a truncated coredump would be reported to userland
via dev_coredumpv.
Also, there is an additional error handling enhanced in the patch to avoid
the possible invalid buffer access when the system failed to create the
buffer to hold the coredump.
Fixes: 0da3c795d07b ("mt76: mt7921: add coredump support")
Co-developed-by: YN Chen <YN.Chen@mediatek.com>
Signed-off-by: YN Chen <YN.Chen@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
