mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
ASoC: imx-audmux: Use uintptr_t for port numbers
commit e5f89768e9 upstream.
Since we pass the port number through file private data for debugfs we cast
it to and from a pointer so use uintptr_t in order to ensure that the
types are compatible, avoiding warnings on 64 bit platforms where pointers
are 64 bit and unsigned integers 32 bit.
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
f7220347be
commit
7ee8387b6f
1 changed files with 4 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue