diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-02 22:48:47 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-09-07 09:16:31 +0200 |
commit | 6e7fb09e1924927149b68e309d6524de777e54c2 (patch) | |
tree | 7cfeb2c5178d8c801c7ef1d73394d43616dab8a4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | da4599992d3eff5e52a2b32f6e4099f19b1dd655 (diff) |
mmc: s3cmci: Cast driver data through long
Since driver data is a pointer, direct casting to integer causes
warning when compile testing for 64-bit architecture:
drivers/mmc/host/s3cmci.c:1495:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
The actual driver data can be only 0 or 1, so cast it via long and do
not care about any loss of value.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200902204847.2764-3-krzk@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions