[PATCH v2 06/10] staging: mt7621-mmc: Fix dereference before check in msdc_drv_pm

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Apr 23 13:36:49 UTC 2018


On Sat, Apr 07, 2018 at 10:16:21AM +0200, Christian Lütke-Stetzkamp wrote:
> In the msdc_drv_pm function the variable mmc is dereferenced before
> checked. Reordering fixes that.
> 
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Christian Lütke-Stetzkamp <christian at lkamp.de>
> Reviewed-by: NeilBrown <neil at brown.name>
> ---
>  drivers/staging/mt7621-mmc/sd.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

This patch did not apply :(

Please rebase and resend.

thanks,

greg k-h


More information about the devel mailing list