diff options
author | 2022-05-25 22:09:14 -0300 | |
---|---|---|
committer | 2022-06-08 22:19:16 +0200 | |
commit | 3d43273d7d1e1a5374d531e901d3c537b4c97bbf (patch) | |
tree | 007943d27b10a5486fbcdd10f38c21d38e610801 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: qcom-cci: simplify access to bus data structure (diff) | |
download | linux-dev-3d43273d7d1e1a5374d531e901d3c537b4c97bbf.tar.xz linux-dev-3d43273d7d1e1a5374d531e901d3c537b4c97bbf.zip |
i2c: mxs: Silence a clang warning
Change the of_device_get_match_data() cast to (uintptr_t)
to silence the following clang warning:
drivers/i2c/busses/i2c-mxs.c:802:18: warning: cast to smaller integer type 'enum mxs_i2c_devtype' from 'const void *' [-Wvoid-pointer-to-enum-cast]
Reported-by: kernel test robot <lkp@intel.com>
Fixes: c32abd8b5691 ("i2c: mxs: Remove unneeded platform_device_id")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions