Anton Ryzhov df469befdc 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>
2020-11-04 22:08:11 +08:00
..
2020-11-02 16:33:25 +01:00
2020-11-01 14:44:06 +01:00
2020-11-01 14:44:06 +01:00
2020-11-01 14:44:06 +01:00
2020-11-01 14:44:06 +01:00
2020-11-02 16:33:25 +01:00
2020-11-01 14:44:06 +01:00
2020-10-15 17:46:54 +02:00