diff options
author | 2023-06-09 22:20:56 +0200 | |
---|---|---|
committer | 2023-06-09 23:16:49 +0200 | |
commit | 11ca605653480b2ddc70ec142a0a686796a7fc87 (patch) | |
tree | 213deeb21e0bf8e1b410703ed075c460d6426a35 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'samsung-soc-6.5' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into soc/arm (diff) | |
download | wireguard-linux-11ca605653480b2ddc70ec142a0a686796a7fc87.tar.xz wireguard-linux-11ca605653480b2ddc70ec142a0a686796a7fc87.zip |
Input: ads7846 - fix pointer cast warning
The previous bugfix caused a warning on 64-bit builds:
drivers/input/touchscreen/ads7846.c:1126:17: warning: cast to smaller integer type 'u32' (aka 'unsigned int') from 'const void *' [-Wvoid-pointer-to-int-cast]
Change the cast back to something that works on both 32-bit and 64-bit
kernels.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202306100442.jStknDT1-lkp@intel.com/
Fixes: 8f7913c04f6a7 ("Input: ads7846 - Fix usage of match data")
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions