diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-25 22:42:08 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-26 15:48:20 +0100 |
commit | 40d1299f87bf915931970c8e6ea3852acacd1889 (patch) | |
tree | e5eda3d2b2f071ef9e94dfb7c7bfe85046249ea6 /fs/internal.h | |
parent | c889a45d229938a94b50aadb819def8bb11a6a54 (diff) | |
download | linux-40d1299f87bf915931970c8e6ea3852acacd1889.tar.bz2 |
ASoC: dmaengine: Fix missing __user prefix in copy_user callback
It seems that __user prefix was forgotten to be added to
dmaengine_copy_user callback while we refactored the user-copy PCM
core.
This patch adds the missing prefix, remove the superfluous cast, and
add the needed cast (__force is needed for downgrading from user
pointer to kernel pointer), too.
Spotted by a sparse warning like:
sound/soc/soc-generic-dmaengine-pcm.c:397:27: warning: incorrect type in initializer (incompatible argument 4 (different address spaces))
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions