Skip to content
Commit e396de68 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman
Browse files

staging: mt7621-mmc: Fix calculation typo in msdc_init_gpd_bd



When refactoring the function msdc_init_gpd_bd, an error in the
calculation of the bd.next address was introduced. The offset has to
be added to the base address, not multiplied.

Fixes: 8f239558 ("staging: mt7621-mmc: Refactor msdc_init_gpd_bd")
Reported-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Tested-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2175b615
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment