diff options
author | 2023-08-10 11:59:49 +0200 | |
---|---|---|
committer | 2023-08-11 16:21:46 +0200 | |
commit | b7df0f340b64c543bb84c42698347f08b6e18fe2 (patch) | |
tree | e89c64ea40ba6e7d704f351c9902c037b7275ff6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | gpio: imx-scu: Use ARRAY_SIZE for array length (diff) | |
download | wireguard-linux-b7df0f340b64c543bb84c42698347f08b6e18fe2.tar.xz wireguard-linux-b7df0f340b64c543bb84c42698347f08b6e18fe2.zip |
gpio: mxs: fix Wvoid-pointer-to-enum-cast warning
'devid' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
gpio-mxs.c:274:16: error: cast to smaller integer type 'enum mxs_gpio_id' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions