mmc: mmc_test: Improve a size determination in five functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 8 Jan 2017 20:25:44 +0000 (21:25 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:10 +0000 (13:20 +0100)
commit554d7c540ea0d30e03674a24d139dd8b5c1646c5
tree8ab9104b4e7f8d978bac25698b08be53b0d81caa
parent7200449dc6a1f4556ad5da20df031bfbaf42fff5
mmc: mmc_test: Improve a size determination in five functions

Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc_test.c