diff options
author | Anton Ryzhov <anton@ryzhov.me> | 2020-11-01 16:06:26 +0100 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-11-04 22:08:11 +0800 |
commit | df469befdc4c13d260b99f3a1e15bc418a429020 (patch) | |
tree | 55afe2c535f2909381b6761c2a8d29f0cc0b0150 /target/linux/layerscape/patches-5.4/701-net-0235-enetc-Clean-up-of-ehtool-stats-len.patch | |
parent | be09c5a3cd6535ccfc6b1628546c0416d94bd131 (diff) | |
download | upstream-df469befdc4c13d260b99f3a1e15bc418a429020.tar.gz upstream-df469befdc4c13d260b99f3a1e15bc418a429020.tar.bz2 upstream-df469befdc4c13d260b99f3a1e15bc418a429020.zip |
ramips: fix kernel oops in `mt7621_nfc_write_page_hwecc`
`mt7621_nfc_write_page_hwecc` may be called with `buf=NULL`, but
`mt7621_nfc_check_empty_page` always tries to read it.
That caused Oops:
`Unable to handle kernel paging request at virtual address 00000000`
Fixes: FS#3416
Signed-off-by: Anton Ryzhov <anton@ryzhov.me>
Diffstat (limited to 'target/linux/layerscape/patches-5.4/701-net-0235-enetc-Clean-up-of-ehtool-stats-len.patch')
0 files changed, 0 insertions, 0 deletions