aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-22 13:52:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-22 13:52:56 -0400
commit092e0e7e520a1fca03e13c9f2d157432a8657ff2 (patch)
tree451897252c4c08c4b5a8ef535da156f1e817e80b /sound
parent79f14b7c56d3b3ba58f8b43d1f70b9b71477a800 (diff)
parent776c163b1b93c8dfa5edba885bc2bfbc2d228a5f (diff)
Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl
* 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl: vfs: make no_llseek the default vfs: don't use BKL in default_llseek llseek: automatically add .llseek fop libfs: use generic_file_llseek for simple_attr mac80211: disallow seeks in minstrel debug code lirc: make chardev nonseekable viotape: use noop_llseek raw: use explicit llseek file operations ibmasmfs: use generic_file_llseek spufs: use llseek in all file operations arm/omap: use generic_file_llseek in iommu_debug lkdtm: use generic_file_llseek in debugfs net/wireless: use generic_file_llseek in debugfs drm: use noop_llseek
Diffstat (limited to 'sound')
-rw-r--r--sound/core/seq/oss/seq_oss.c1
-rw-r--r--sound/core/sound.c3
-rw-r--r--sound/oss/msnd_pinnacle.c1
-rw-r--r--sound/soc/soc-core.c1
-rw-r--r--sound/soc/soc-dapm.c1
-rw-r--r--sound/sound_core.c1
6 files changed, 7 insertions, 1 deletions
diff --git a/sound/core/seq/oss/seq_oss.c b/sound/core/seq/oss/seq_oss.c
index f25e3cc7ddfa..a1f1a2f00ccb 100644
--- a/sound/core/seq/oss/seq_oss.c
+++ b/sound/core/seq/oss/seq_oss.c
@@ -220,6 +220,7 @@ static const struct file_operations seq_oss_f_ops =
220 .poll = odev_poll, 220 .poll = odev_poll,
221 .unlocked_ioctl = odev_ioctl, 221 .unlocked_ioctl = odev_ioctl,
222 .compat_ioctl = odev_ioctl_compat, 222 .compat_ioctl = odev_ioctl_compat,
223 .llseek = noop_llseek,
223}; 224};
224 225
225static int __init 226static int __init
diff --git a/sound/core/sound.c b/sound/core/sound.c
index ac42af42b787..62a093efb453 100644
--- a/sound/core/sound.c
+++ b/sound/core/sound.c
@@ -184,7 +184,8 @@ static int snd_open(struct inode *inode, struct file *file)
184static const struct file_operations snd_fops = 184static const struct file_operations snd_fops =
185{ 185{
186 .owner = THIS_MODULE, 186 .owner = THIS_MODULE,
187 .open = snd_open 187 .open = snd_open,
188 .llseek = noop_llseek,
188}; 189};
189 190
190#ifdef CONFIG_SND_DYNAMIC_MINORS 191#ifdef CONFIG_SND_DYNAMIC_MINORS
diff --git a/sound/oss/msnd_pinnacle.c b/sound/oss/msnd_pinnacle.c
index 2e48b17667d0..ca942f7cd231 100644
--- a/sound/oss/msnd_pinnacle.c
+++ b/sound/oss/msnd_pinnacle.c
@@ -1117,6 +1117,7 @@ static const struct file_operations dev_fileops = {
1117 .unlocked_ioctl = dev_ioctl, 1117 .unlocked_ioctl = dev_ioctl,
1118 .open = dev_open, 1118 .open = dev_open,
1119 .release = dev_release, 1119 .release = dev_release,
1120 .llseek = noop_llseek,
1120}; 1121};
1121 1122
1122static int reset_dsp(void) 1123static int reset_dsp(void)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index acc91daa1c55..4057d35343bb 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -223,6 +223,7 @@ static const struct file_operations codec_reg_fops = {
223 .open = codec_reg_open_file, 223 .open = codec_reg_open_file,
224 .read = codec_reg_read_file, 224 .read = codec_reg_read_file,
225 .write = codec_reg_write_file, 225 .write = codec_reg_write_file,
226 .llseek = default_llseek,
226}; 227};
227 228
228static void soc_init_codec_debugfs(struct snd_soc_codec *codec) 229static void soc_init_codec_debugfs(struct snd_soc_codec *codec)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 03cb7c05ebec..72a53d0a41e9 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1089,6 +1089,7 @@ static ssize_t dapm_widget_power_read_file(struct file *file,
1089static const struct file_operations dapm_widget_power_fops = { 1089static const struct file_operations dapm_widget_power_fops = {
1090 .open = dapm_widget_power_open_file, 1090 .open = dapm_widget_power_open_file,
1091 .read = dapm_widget_power_read_file, 1091 .read = dapm_widget_power_read_file,
1092 .llseek = default_llseek,
1092}; 1093};
1093 1094
1094void snd_soc_dapm_debugfs_init(struct snd_soc_codec *codec) 1095void snd_soc_dapm_debugfs_init(struct snd_soc_codec *codec)
diff --git a/sound/sound_core.c b/sound/sound_core.c
index cb61317df509..c03bbaefdbc3 100644
--- a/sound/sound_core.c
+++ b/sound/sound_core.c
@@ -165,6 +165,7 @@ static const struct file_operations soundcore_fops =
165 /* We must have an owner or the module locking fails */ 165 /* We must have an owner or the module locking fails */
166 .owner = THIS_MODULE, 166 .owner = THIS_MODULE,
167 .open = soundcore_open, 167 .open = soundcore_open,
168 .llseek = noop_llseek,
168}; 169};
169 170
170/* 171/*