Re: [PATCH v5] staging: rts5208: add error handling into rtsx_probe

From: Andy Shevchenko
Date: Wed Aug 01 2018 - 08:19:02 EST


On Wed, Aug 1, 2018 at 2:55 PM, Anton Vasilyev <vasilyev@xxxxxxxxx> wrote:
> If rtsx_probe() fails to allocate dev->chip, then release_everything()
> will crash on uninitialized dev->cmnd_ready complete.
>
> Patch adds an error handling into rtsx_probe.
> Found by Linux Driver Verification project (linuxtesting.org).

Have you based your change on staging-next?

Seems not. You need to rebase and resend.

--
With Best Regards,
Andy Shevchenko