Re: [PATCH v2 0/2] meson-nand: two small memory related fixes

2019-04-01 Thread Miquel Raynal
Hi Martin, Martin Blumenstingl wrote on Mon, 18 Mar 2019 21:47:20 +0100: > While trying to add support for older Meson SoCs to the meson-nand > driver I was experiencing a crash in meson_nfc_read_buf(). While trying > to find out why that happened I inspected the code in that function and > foun

[PATCH v2 0/2] meson-nand: two small memory related fixes

2019-03-18 Thread Martin Blumenstingl
While trying to add support for older Meson SoCs to the meson-nand driver I was experiencing a crash in meson_nfc_read_buf(). While trying to find out why that happened I inspected the code in that function and found that there's: - a missing check on the return value of a kzalloc() call - a potent