diff options
| author | Takashi Iwai <[email protected]> | 2018-07-25 22:42:08 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-07-26 15:48:20 +0100 |
| commit | 40d1299f87bf915931970c8e6ea3852acacd1889 (patch) | |
| tree | e5eda3d2b2f071ef9e94dfb7c7bfe85046249ea6 /tools/perf/scripts/python | |
| parent | c889a45d229938a94b50aadb819def8bb11a6a54 (diff) | |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions