Commit ce335e3
net: ethernet: mtk_eth_soc: Fix immutable string IRQ setup
The PDMA IRQ setup code uses a string literal pointer for the ring name,
which is mutated shortly after.
Change rxring to a character array as to not write to immutable-memory.
Signed-off-by: Emilia Schotte <[email protected]>1 parent d3bac1b commit ce335e3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3720 | 3720 | | |
3721 | 3721 | | |
3722 | 3722 | | |
3723 | | - | |
| 3723 | + | |
3724 | 3724 | | |
3725 | 3725 | | |
3726 | 3726 | | |
| |||
0 commit comments