[U-Boot] [PATCH] spi: spi-mem: Check if exec_op function is set before calling it
Bin Meng
bmeng.cn at gmail.com
Mon Apr 1 08:39:18 UTC 2019
On Tue, Mar 26, 2019 at 5:01 PM Bernhard Messerklinger
<bernhard.messerklinger at br-automation.com> wrote:
>
> Add check if exec_op is set before calling it.
> At the moment it is called unconditionally, which leads to a crash if it
> is not set correctly.
>
> Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger at br-automation.com>
> ---
>
> drivers/spi/spi-mem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list