diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-01-08 21:25:44 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-02-13 13:20:10 +0100 |
commit | 554d7c540ea0d30e03674a24d139dd8b5c1646c5 (patch) | |
tree | 8ab9104b4e7f8d978bac25698b08be53b0d81caa /drivers/mmc/core/queue.c | |
parent | 7200449dc6a1f4556ad5da20df031bfbaf42fff5 (diff) |
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>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions