diff options
author | Jonathan Cameron <[email protected]> | 2021-11-28 17:24:41 +0000 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2021-12-21 15:10:09 +0000 |
commit | 6713847817e0ab66b853294137f58c4d3211ad24 (patch) | |
tree | 9c2dadc5526f35e6825a8ec8afc9d3b4596aa69d /lib/mpi/mpi-add.c | |
parent | 072cc9816c902103bbc41112fe914e884b3f9882 (diff) |
iio:imu:inv_mpu6050: Suppress clang W=1 warning about pointer to enum conversion.
Cast to a uintptr_t rather than directly to the enum.
As per the discussion in below linked media patch.
Link: https://lore.kernel.org/linux-media/CAK8P3a2ez6nEw4d+Mqa3XXAz0RFTZHunqqRj6sCt7Y_Eqqs0rw@mail.gmail.com/
Signed-off-by: Jonathan Cameron <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Baptiste Mansuy <[email protected]>
Cc: Jean-Baptiste Maneyrol <[email protected]>
Cc: Linus Walleij <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions