diff options
author | Ingo Molnar <mingo@kernel.org> | 2022-03-15 11:53:57 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-03-15 12:56:17 +0100 |
commit | c4a56838de3ff9b31de6d5fd6a7b5b1238a73bc1 (patch) | |
tree | bb9e70564523e07119334245589dd59296ce093a /sound | |
parent | 23df18fd3ac807b77463d5dca3ed18f78bce8e68 (diff) | |
download | tip-c4a56838de3ff9b31de6d5fd6a7b5b1238a73bc1.tar.gz |
headers/deps: Add header dependencies to .c files: <linux/uaccess.h>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'sound')
67 files changed, 67 insertions, 0 deletions
diff --git a/sound/core/control.c b/sound/core/control.c index d4eb05eaec36fd..75a122e269b220 100644 --- a/sound/core/control.c +++ b/sound/core/control.c @@ -4,6 +4,7 @@ * Copyright (c) by Jaroslav Kysela <perex@perex.cz> */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/rwsem_api.h> diff --git a/sound/core/control_compat.c b/sound/core/control_compat.c index 15fa6210ff7316..c4846d34f44ef8 100644 --- a/sound/core/control_compat.c +++ b/sound/core/control_compat.c @@ -7,6 +7,7 @@ /* this file included from control.c */ +#include <linux/uaccess.h> #include <linux/rwsem_api.h> #include <linux/fs.h> #include <linux/compat.h> diff --git a/sound/core/hwdep.c b/sound/core/hwdep.c index 7383927d11d59b..4631865efa9b43 100644 --- a/sound/core/hwdep.c +++ b/sound/core/hwdep.c @@ -4,6 +4,7 @@ * Copyright (c) by Jaroslav Kysela <perex@perex.cz> */ +#include <linux/uaccess.h> #include <linux/sched.h> #include <linux/mutex_api.h> #include <linux/fs.h> diff --git a/sound/core/hwdep_compat.c b/sound/core/hwdep_compat.c index a9241e25ce01e0..124ae4e3f1a30b 100644 --- a/sound/core/hwdep_compat.c +++ b/sound/core/hwdep_compat.c @@ -6,6 +6,7 @@ /* This file is included from hwdep.c */ +#include <linux/uaccess.h> #include <linux/fs.h> #include <linux/compat.h> diff --git a/sound/core/info.c b/sound/core/info.c index 3df4bcf90a6d46..ded14ceae18b74 100644 --- a/sound/core/info.c +++ b/sound/core/info.c @@ -4,6 +4,7 @@ * Copyright (c) by Jaroslav Kysela <perex@perex.cz> */ +#include <linux/uaccess.h> #include <linux/seq_file.h> #include <linux/mutex_api.h> #include <linux/mm_api_kvmalloc.h> diff --git a/sound/core/oss/mixer_oss.c b/sound/core/oss/mixer_oss.c index e63cbf9d211977..82783b5bcb1914 100644 --- a/sound/core/oss/mixer_oss.c +++ b/sound/core/oss/mixer_oss.c @@ -4,6 +4,7 @@ * Copyright (c) by Jaroslav Kysela <perex@perex.cz> */ +#include <linux/uaccess.h> #include <linux/rwsem_api.h> #include <linux/mutex_api.h> #include <linux/fs.h> diff --git a/sound/core/oss/pcm_oss.c b/sound/core/oss/pcm_oss.c index 59b81eaf84e337..d8cd68d1200b8e 100644 --- a/sound/core/oss/pcm_oss.c +++ b/sound/core/oss/pcm_oss.c @@ -11,6 +11,7 @@ #define OSS_DEBUG #endif +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/mutex_api.h> diff --git a/sound/core/pcm.c b/sound/core/pcm.c index 10cdcb7181ac1b..a1d2243866dbd9 100644 --- a/sound/core/pcm.c +++ b/sound/core/pcm.c @@ -4,6 +4,7 @@ * Copyright (c) by Jaroslav Kysela <perex@perex.cz> */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/rwsem_api.h> diff --git a/sound/core/pcm_compat.c b/sound/core/pcm_compat.c index e4e176854ce701..85cfd3a64d7a81 100644 --- a/sound/core/pcm_compat.c +++ b/sound/core/pcm_compat.c @@ -6,6 +6,7 @@ /* This file included from pcm_native.c */ +#include <linux/uaccess.h> #include <linux/compat.h> #include <linux/slab.h> diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c index b1ebbd8aa91a41..44af1dd21647e7 100644 --- a/sound/core/pcm_lib.c +++ b/sound/core/pcm_lib.c @@ -5,6 +5,7 @@ * Abramo Bagnara <abramo@alsa-project.org> */ +#include <linux/uaccess.h> #include <linux/time64_api.h> #include <linux/sched.h> #include <linux/jiffies.h> diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index f9442d3a547a3d..e70c7f41c1d1f7 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c @@ -4,6 +4,7 @@ * Copyright (c) by Jaroslav Kysela <perex@perex.cz> */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/rwsem_api.h> diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c index 97902e3add229b..c2af72fee4c5ed 100644 --- a/sound/core/rawmidi.c +++ b/sound/core/rawmidi.c @@ -4,6 +4,7 @@ * Copyright (c) by Jaroslav Kysela <perex@perex.cz> */ +#include <linux/uaccess.h> #include <linux/timekeeping.h> #include <linux/spinlock_api.h> #include <linux/sched.h> diff --git a/sound/core/rawmidi_compat.c b/sound/core/rawmidi_compat.c index d152bb18b41b75..7af218a47e48e2 100644 --- a/sound/core/rawmidi_compat.c +++ b/sound/core/rawmidi_compat.c @@ -6,6 +6,7 @@ /* This file included from rawmidi.c */ +#include <linux/uaccess.h> #include <linux/fs.h> #include <linux/compat.h> diff --git a/sound/core/seq/oss/seq_oss_ioctl.c b/sound/core/seq/oss/seq_oss_ioctl.c index f6329ee359c4d0..902b875f228fdf 100644 --- a/sound/core/seq/oss/seq_oss_ioctl.c +++ b/sound/core/seq/oss/seq_oss_ioctl.c @@ -7,6 +7,7 @@ * Copyright (C) 1998,99 Takashi Iwai <tiwai@suse.de> */ +#include <linux/uaccess.h> #include <linux/sched/signal.h> #include <linux/io.h> diff --git a/sound/core/seq/oss/seq_oss_rw.c b/sound/core/seq/oss/seq_oss_rw.c index 577b34f36ff313..1f7493e03d6a05 100644 --- a/sound/core/seq/oss/seq_oss_rw.c +++ b/sound/core/seq/oss/seq_oss_rw.c @@ -11,6 +11,7 @@ #include "seq_oss_readq.h" #include "seq_oss_writeq.h" #include "seq_oss_synth.h" +#include <linux/uaccess.h> #include <linux/sched/signal.h> #include <linux/io.h> #include <sound/seq_oss_legacy.h> diff --git a/sound/core/seq/oss/seq_oss_timer.c b/sound/core/seq/oss/seq_oss_timer.c index f9f57232a83f9c..5a3069621e830e 100644 --- a/sound/core/seq/oss/seq_oss_timer.c +++ b/sound/core/seq/oss/seq_oss_timer.c @@ -9,6 +9,7 @@ #include "seq_oss_timer.h" #include "seq_oss_event.h" +#include <linux/uaccess.h> #include <sound/seq_oss_legacy.h> #include <linux/slab.h> diff --git a/sound/core/seq/seq_clientmgr.c b/sound/core/seq/seq_clientmgr.c index 95004e7857deeb..ac432d2cc0b794 100644 --- a/sound/core/seq/seq_clientmgr.c +++ b/sound/core/seq/seq_clientmgr.c @@ -6,6 +6,7 @@ * Takashi Iwai <tiwai@suse.de> */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/rwsem_api.h> diff --git a/sound/core/seq/seq_compat.c b/sound/core/seq/seq_compat.c index 5743b581c00ae9..92f0018090559f 100644 --- a/sound/core/seq/seq_compat.c +++ b/sound/core/seq/seq_compat.c @@ -6,6 +6,7 @@ /* This file included from seq.c */ +#include <linux/uaccess.h> #include <linux/fs.h> #include <linux/compat.h> #include <linux/slab.h> diff --git a/sound/core/seq/seq_memory.c b/sound/core/seq/seq_memory.c index 3ca9bf02af5b0b..b2debe921f0521 100644 --- a/sound/core/seq/seq_memory.c +++ b/sound/core/seq/seq_memory.c @@ -6,6 +6,7 @@ * 2000 by Takashi Iwai <tiwai@suse.de> */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/mutex_api.h> diff --git a/sound/core/timer.c b/sound/core/timer.c index c45568de4975a9..16c3929e766197 100644 --- a/sound/core/timer.c +++ b/sound/core/timer.c @@ -4,6 +4,7 @@ * Copyright (c) by Jaroslav Kysela <perex@perex.cz> */ +#include <linux/uaccess.h> #include <linux/timekeeping.h> #include <linux/spinlock_api.h> #include <linux/sched.h> diff --git a/sound/core/timer_compat.c b/sound/core/timer_compat.c index e4198b7000720f..6346d852677189 100644 --- a/sound/core/timer_compat.c +++ b/sound/core/timer_compat.c @@ -6,6 +6,7 @@ /* This file included from timer.c */ +#include <linux/uaccess.h> #include <linux/mutex_api.h> #include <linux/compat.h> diff --git a/sound/drivers/opl3/opl3_oss.c b/sound/drivers/opl3/opl3_oss.c index 7645365eec894e..5f08a0eec37969 100644 --- a/sound/drivers/opl3/opl3_oss.c +++ b/sound/drivers/opl3/opl3_oss.c @@ -5,6 +5,7 @@ * Copyright (C) 2000 Uros Bizjak <uros@kss-loka.si> */ +#include <linux/uaccess.h> #include <linux/export.h> #include "opl3_voice.h" diff --git a/sound/drivers/opl3/opl3_synth.c b/sound/drivers/opl3/opl3_synth.c index 97d30a833ac81e..8787a2bebc00f5 100644 --- a/sound/drivers/opl3/opl3_synth.c +++ b/sound/drivers/opl3/opl3_synth.c @@ -5,6 +5,7 @@ * Routines for OPL2/OPL3/OPL4 control */ +#include <linux/uaccess.h> #include <linux/slab.h> #include <linux/export.h> #include <linux/nospec.h> diff --git a/sound/drivers/opl4/opl4_proc.c b/sound/drivers/opl4/opl4_proc.c index 84b6515189192a..be20ff466c6c81 100644 --- a/sound/drivers/opl4/opl4_proc.c +++ b/sound/drivers/opl4/opl4_proc.c @@ -5,6 +5,7 @@ */ #include "opl4_local.h" +#include <linux/uaccess.h> #include <linux/mutex_api.h> #include <linux/vmalloc.h> #include <linux/export.h> diff --git a/sound/firewire/bebob/bebob_hwdep.c b/sound/firewire/bebob/bebob_hwdep.c index d38ff9d27298d4..b742650105dddb 100644 --- a/sound/firewire/bebob/bebob_hwdep.c +++ b/sound/firewire/bebob/bebob_hwdep.c @@ -13,6 +13,7 @@ * 3.lock/unlock stream */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched/signal.h> #include <linux/sched.h> diff --git a/sound/firewire/dice/dice-hwdep.c b/sound/firewire/dice/dice-hwdep.c index bf862f34f4680f..010e02260b7ebd 100644 --- a/sound/firewire/dice/dice-hwdep.c +++ b/sound/firewire/dice/dice-hwdep.c @@ -6,6 +6,7 @@ * Copyright (c) 2014 Takashi Sakamoto <o-takashi@sakamocchi.jp> */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched/signal.h> #include <linux/sched.h> diff --git a/sound/firewire/digi00x/digi00x-hwdep.c b/sound/firewire/digi00x/digi00x-hwdep.c index a88f601999273b..edd33d1355f862 100644 --- a/sound/firewire/digi00x/digi00x-hwdep.c +++ b/sound/firewire/digi00x/digi00x-hwdep.c @@ -14,6 +14,7 @@ * 4.get asynchronous messaging */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched/signal.h> #include <linux/sched.h> diff --git a/sound/firewire/fireface/ff-hwdep.c b/sound/firewire/fireface/ff-hwdep.c index 7568ecb85472ec..05a9ee05ebadc5 100644 --- a/sound/firewire/fireface/ff-hwdep.c +++ b/sound/firewire/fireface/ff-hwdep.c @@ -13,6 +13,7 @@ * 3.lock/unlock stream */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched/signal.h> #include <linux/sched.h> diff --git a/sound/firewire/fireworks/fireworks_hwdep.c b/sound/firewire/fireworks/fireworks_hwdep.c index 1d5a794254dc20..6f2cc4fbc04755 100644 --- a/sound/firewire/fireworks/fireworks_hwdep.c +++ b/sound/firewire/fireworks/fireworks_hwdep.c @@ -16,6 +16,7 @@ * */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/slab.h> #include <linux/sched/signal.h> diff --git a/sound/firewire/motu/motu-hwdep.c b/sound/firewire/motu/motu-hwdep.c index 34fc93f3fd00e6..fbfe5dbe3ca034 100644 --- a/sound/firewire/motu/motu-hwdep.c +++ b/sound/firewire/motu/motu-hwdep.c @@ -14,6 +14,7 @@ * */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/slab.h> #include <linux/sched/signal.h> diff --git a/sound/firewire/oxfw/oxfw-hwdep.c b/sound/firewire/oxfw/oxfw-hwdep.c index de14b6295e4be3..0e6dc26d0da065 100644 --- a/sound/firewire/oxfw/oxfw-hwdep.c +++ b/sound/firewire/oxfw/oxfw-hwdep.c @@ -13,6 +13,7 @@ * 3.lock/unlock stream */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched/signal.h> #include <linux/sched.h> diff --git a/sound/firewire/tascam/tascam-hwdep.c b/sound/firewire/tascam/tascam-hwdep.c index 46ee984c953e30..8c9e829c2c9a37 100644 --- a/sound/firewire/tascam/tascam-hwdep.c +++ b/sound/firewire/tascam/tascam-hwdep.c @@ -13,6 +13,7 @@ * 3.lock/unlock stream */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched/signal.h> #include <linux/sched.h> diff --git a/sound/hda/hdmi_chmap.c b/sound/hda/hdmi_chmap.c index aad5c4bf4d3441..135387dcebcdee 100644 --- a/sound/hda/hdmi_chmap.c +++ b/sound/hda/hdmi_chmap.c @@ -3,6 +3,7 @@ * HDMI Channel map support helpers */ +#include <linux/uaccess.h> #include <linux/module.h> #include <sound/control.h> #include <sound/tlv.h> diff --git a/sound/isa/gus/gus_dram.c b/sound/isa/gus/gus_dram.c index b677d725a22a22..7146bdeb7969fc 100644 --- a/sound/isa/gus/gus_dram.c +++ b/sound/isa/gus/gus_dram.c @@ -4,6 +4,7 @@ * DRAM access routines */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/time.h> #include <sound/core.h> diff --git a/sound/isa/gus/gus_pcm.c b/sound/isa/gus/gus_pcm.c index fa79890027c534..e10d356789ff25 100644 --- a/sound/isa/gus/gus_pcm.c +++ b/sound/isa/gus/gus_pcm.c @@ -10,6 +10,7 @@ * chip doesn't support autoinit DMA. */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/io.h> diff --git a/sound/isa/sb/emu8000_pcm.c b/sound/isa/sb/emu8000_pcm.c index b9730e128ba6eb..222840f5b6ddbe 100644 --- a/sound/isa/sb/emu8000_pcm.c +++ b/sound/isa/sb/emu8000_pcm.c @@ -7,6 +7,7 @@ #include "emu8000_local.h" +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/jiffies.h> diff --git a/sound/isa/sb/sb16_csp.c b/sound/isa/sb/sb16_csp.c index e5e4bad4eea201..863c6467f04c10 100644 --- a/sound/isa/sb/sb16_csp.c +++ b/sound/isa/sb/sb16_csp.c @@ -9,6 +9,7 @@ * alsa-tools/sb16_csp/ */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/rwsem_api.h> #include <linux/mutex_api.h> diff --git a/sound/isa/wavefront/wavefront_fx.c b/sound/isa/wavefront/wavefront_fx.c index d234dd5b4cda30..7a7ba8af6c7102 100644 --- a/sound/isa/wavefront/wavefront_fx.c +++ b/sound/isa/wavefront/wavefront_fx.c @@ -3,6 +3,7 @@ * Copyright (c) 1998-2002 by Paul Davis <pbd@op.net> */ +#include <linux/uaccess.h> #include <linux/fs.h> #include <linux/io.h> #include <linux/init.h> diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c index 0f65450c6737e4..d8cd5524cdd0a9 100644 --- a/sound/isa/wavefront/wavefront_synth.c +++ b/sound/isa/wavefront/wavefront_synth.c @@ -17,6 +17,7 @@ * */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/jiffies.h> diff --git a/sound/pci/emu10k1/emufx.c b/sound/pci/emu10k1/emufx.c index 7afeac8a7b8bdc..544fd753d5bfd2 100644 --- a/sound/pci/emu10k1/emufx.c +++ b/sound/pci/emu10k1/emufx.c @@ -14,6 +14,7 @@ * -- */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/rwsem_api.h> #include <linux/mutex_api.h> diff --git a/sound/pci/emu10k1/emuproc.c b/sound/pci/emu10k1/emuproc.c index 2055b40898d511..7bb4cf309f7889 100644 --- a/sound/pci/emu10k1/emuproc.c +++ b/sound/pci/emu10k1/emuproc.c @@ -14,6 +14,7 @@ * -- */ +#include <linux/uaccess.h> #include <linux/stat.h> #include <linux/spinlock_api.h> #include <linux/io.h> diff --git a/sound/pci/emu10k1/memory.c b/sound/pci/emu10k1/memory.c index 42e6f3ebd7234a..88406e6d020044 100644 --- a/sound/pci/emu10k1/memory.c +++ b/sound/pci/emu10k1/memory.c @@ -6,6 +6,7 @@ * EMU10K1 memory page allocation (PTB area) */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/mutex_api.h> #include <linux/pci.h> diff --git a/sound/pci/es1938.c b/sound/pci/es1938.c index 6b66daa8a7cbc6..6b4380f5628229 100644 --- a/sound/pci/es1938.c +++ b/sound/pci/es1938.c @@ -32,6 +32,7 @@ */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/ioport.h> #include <linux/init.h> diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index aeb42b4cb5ebab..0e83f6fe233315 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -5,6 +5,7 @@ * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de> */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/rwsem_api.h> #include <linux/mutex_api.h> diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index e6a3e4b19a9888..9baac1cf6c1b87 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -5,6 +5,7 @@ * Copyright (c) 2007 Takashi Iwai <tiwai@suse.de> */ +#include <linux/uaccess.h> #include <linux/capability.h> #include <linux/init.h> #include <linux/slab.h> diff --git a/sound/pci/korg1212/korg1212.c b/sound/pci/korg1212/korg1212.c index ec5bf0627f2b6f..ea7922c6806a51 100644 --- a/sound/pci/korg1212/korg1212.c +++ b/sound/pci/korg1212/korg1212.c @@ -5,6 +5,7 @@ * Copyright (c) 2001 Haroldo Gamal <gamal@alternex.com.br> */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/mutex_api.h> diff --git a/sound/pci/lola/lola_mixer.c b/sound/pci/lola/lola_mixer.c index 1f136f3341137a..b3bd30ac51c2df 100644 --- a/sound/pci/lola/lola_mixer.c +++ b/sound/pci/lola/lola_mixer.c @@ -5,6 +5,7 @@ * Copyright (c) 2011 Takashi Iwai <tiwai@suse.de> */ +#include <linux/uaccess.h> #include <linux/io_extra.h> #include <linux/kernel.h> #include <linux/init.h> diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index 6bd3989ce0ef66..eb7a8a663388fb 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c @@ -7,6 +7,7 @@ * Thomas Charbonnel */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/jiffies.h> diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index 5cc2f5b993dd6b..2c2ddee3bf7fb8 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c @@ -118,6 +118,7 @@ * :8421.8421:8421.8421:8421.8421:8421.8421: hex digit * */ +#include <linux/uaccess.h> #include <linux/timex.h> #include <linux/spinlock_api.h> #include <linux/sched.h> diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c index 8bd9bce585c45f..a2268c7b30a080 100644 --- a/sound/pci/rme9652/rme9652.c +++ b/sound/pci/rme9652/rme9652.c @@ -6,6 +6,7 @@ * Copyright (c) 1999-2001 Paul Davis */ +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/atomic_api.h> diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 0e13dc7cc2e857..a6a34703d304ef 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c @@ -7,6 +7,7 @@ * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> */ +#include <linux/uaccess.h> #include <linux/mutex_api.h> #include <linux/fs_api.h> #include <linux/device_api_lock.h> diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c index 8244749cc6a31e..8c1d8e97b656b9 100644 --- a/sound/soc/intel/skylake/skl-topology.c +++ b/sound/soc/intel/skylake/skl-topology.c @@ -8,6 +8,7 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ +#include <linux/uaccess.h> #include <linux/device_api_lock.h> #include <linux/slab.h> #include <linux/types.h> diff --git a/sound/soc/mediatek/common/mtk-btcvsd.c b/sound/soc/mediatek/common/mtk-btcvsd.c index d837ed95670c5d..9e5f4e937b0e16 100644 --- a/sound/soc/mediatek/common/mtk-btcvsd.c +++ b/sound/soc/mediatek/common/mtk-btcvsd.c @@ -5,6 +5,7 @@ // Copyright (c) 2019 MediaTek Inc. // Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com> +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/sched.h> #include <linux/of_api.h> diff --git a/sound/soc/qcom/qdsp6/q6asm-dai.c b/sound/soc/qcom/qdsp6/q6asm-dai.c index 2711e291305f78..5987d94df71429 100644 --- a/sound/soc/qcom/qdsp6/q6asm-dai.c +++ b/sound/soc/qcom/qdsp6/q6asm-dai.c @@ -2,6 +2,7 @@ // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. // Copyright (c) 2018, Linaro Limited +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/of_api.h> #include <linux/device_api_lock.h> diff --git a/sound/soc/soc-generic-dmaengine-pcm.c b/sound/soc/soc-generic-dmaengine-pcm.c index c54c8ca8d71569..64aef10c844a08 100644 --- a/sound/soc/soc-generic-dmaengine-pcm.c +++ b/sound/soc/soc-generic-dmaengine-pcm.c @@ -3,6 +3,7 @@ // Copyright (C) 2013, Analog Devices Inc. // Author: Lars-Peter Clausen <lars@metafoo.de> +#include <linux/uaccess.h> #include <linux/module.h> #include <linux/init.h> #include <linux/dmaengine.h> diff --git a/sound/soc/sof/compress.c b/sound/soc/sof/compress.c index 01ca85f0b87fee..45b518b1ea9900 100644 --- a/sound/soc/sof/compress.c +++ b/sound/soc/sof/compress.c @@ -4,6 +4,7 @@ // // Author: Daniel Baluta <daniel.baluta@nxp.com> +#include <linux/uaccess.h> #include <sound/soc.h> #include <sound/sof.h> #include <sound/compress_driver.h> diff --git a/sound/soc/sof/control.c b/sound/soc/sof/control.c index ef61936dad5945..eb792578a54721 100644 --- a/sound/soc/sof/control.c +++ b/sound/soc/sof/control.c @@ -10,6 +10,7 @@ /* Mixer Controls */ +#include <linux/uaccess.h> #include <linux/pm_runtime.h> #include <linux/leds.h> #include "sof-priv.h" diff --git a/sound/soc/sof/debug.c b/sound/soc/sof/debug.c index 273376446e61d3..06669d2c62c99c 100644 --- a/sound/soc/sof/debug.c +++ b/sound/soc/sof/debug.c @@ -11,6 +11,7 @@ // for firmware debugging. // +#include <linux/uaccess.h> #include <linux/timekeeping.h> #include <linux/slab.h> #include <linux/ktime_api.h> diff --git a/sound/soc/sof/sof-probes.c b/sound/soc/sof/sof-probes.c index dcc90e570af994..6a30452131c93b 100644 --- a/sound/soc/sof/sof-probes.c +++ b/sound/soc/sof/sof-probes.c @@ -7,6 +7,7 @@ // Author: Cezary Rojewski <cezary.rojewski@intel.com> // +#include <linux/uaccess.h> #include <linux/slab.h> #include <linux/math64.h> #include <sound/soc.h> diff --git a/sound/soc/sof/trace.c b/sound/soc/sof/trace.c index dcda454f23fbb0..a3467507a59dd8 100644 --- a/sound/soc/sof/trace.c +++ b/sound/soc/sof/trace.c @@ -8,6 +8,7 @@ // Author: Liam Girdwood <liam.r.girdwood@linux.intel.com> // +#include <linux/uaccess.h> #include <linux/timekeeping.h> #include <linux/slab.h> #include <linux/sched.h> diff --git a/sound/soc/sprd/sprd-pcm-compress.c b/sound/soc/sprd/sprd-pcm-compress.c index b5778e64f089a7..54a0571ccfcc64 100644 --- a/sound/soc/sprd/sprd-pcm-compress.c +++ b/sound/soc/sprd/sprd-pcm-compress.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2019 Spreadtrum Communications Inc. +#include <linux/uaccess.h> #include <linux/scatterlist_api.h> #include <linux/device_api_lock.h> #include <linux/dma-mapping.h> diff --git a/sound/soc/uniphier/aio-compress.c b/sound/soc/uniphier/aio-compress.c index 63d50bb066e360..aa1a875ab30621 100644 --- a/sound/soc/uniphier/aio-compress.c +++ b/sound/soc/uniphier/aio-compress.c @@ -4,6 +4,7 @@ // // Copyright (c) 2017-2018 Socionext Inc. +#include <linux/uaccess.h> #include <linux/spinlock_api.h> #include <linux/slab.h> #include <linux/bitfield.h> diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c index 7fe758390398ac..7b73f4563952f0 100644 --- a/sound/usb/mixer.c +++ b/sound/usb/mixer.c @@ -27,6 +27,7 @@ * - parse available sample rates again when clock sources changed */ +#include <linux/uaccess.h> #include <linux/fs_api.h> #include <linux/device_api.h> #include <linux/bitops.h> diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c index 886188953618b3..c7d198940f3eef 100644 --- a/sound/usb/mixer_quirks.c +++ b/sound/usb/mixer_quirks.c @@ -14,6 +14,7 @@ * Przemek Rudy (prudy1@o2.pl) */ +#include <linux/uaccess.h> #include <linux/sched.h> #include <linux/atomic_api.h> #include <linux/hid.h> diff --git a/sound/usb/stream.c b/sound/usb/stream.c index ceb93d798182cf..633eef2fcd3c27 100644 --- a/sound/usb/stream.c +++ b/sound/usb/stream.c @@ -3,6 +3,7 @@ */ +#include <linux/uaccess.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/usb.h> diff --git a/sound/usb/usx2y/us122l.c b/sound/usb/usx2y/us122l.c index 246174eed6e606..0dbb09cab8ee9d 100644 --- a/sound/usb/usx2y/us122l.c +++ b/sound/usb/usx2y/us122l.c @@ -3,6 +3,7 @@ * Copyright (C) 2007, 2008 Karsten Wiese <fzu@wemgehoertderstaat.de> */ +#include <linux/uaccess.h> #include <linux/pgtable_api.h> #include <linux/mutex_api.h> #include <linux/mm_api.h> diff --git a/sound/xen/xen_snd_front_alsa.c b/sound/xen/xen_snd_front_alsa.c index 24a156554b17f7..77a013bc97ba3f 100644 --- a/sound/xen/xen_snd_front_alsa.c +++ b/sound/xen/xen_snd_front_alsa.c @@ -8,6 +8,7 @@ * Author: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> */ +#include <linux/uaccess.h> #include <linux/slab.h> #include <linux/pgtable_api.h> #include <linux/gfp_api.h> |