Messages in this thread | | | From | Ulf Hansson <> | Date | Fri, 25 Sep 2020 13:31:32 +0200 | Subject | Re: [PATCH] mmc: davinci: Drop pointer to mmc_host from mmc_davinci_host |
| |
On Thu, 24 Sep 2020 at 14:49, Ulf Hansson <ulf.hansson@linaro.org> wrote: > > On Sun, 20 Sep 2020 at 22:51, Amey Narkhede <ameynarkhede03@gmail.com> wrote: > > > > The TI DaVinci MMC host driver uses a pointer to get from > > the private mmc_davinci_host structure to generic mmc_host > > structure. However mmc_host always immediately precedes > > mmc_davinci_host in memory hence get the address of that > > mmc_host structure using mmc_from_priv() which performs > > subtraction(which is cheaper than a dereference) and drop > > the unnecessary pointer. > > > > Signed-off-by: Amey Narkhede <ameynarkhede03@gmail.com> > > Applied for next, thanks!
Turned out that this one did cause build errors, so I have dropped it from my next branch.
Please re-spin a v2 and make sure to run a build test before you submit again.
[...]
Kind regards Uffe
| |