aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/info.c')
-rw-r--r--sound/core/info.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/core/info.c b/sound/core/info.c
index 9663b6be9c3a..e43662b33f16 100644
--- a/sound/core/info.c
+++ b/sound/core/info.c
@@ -175,15 +175,15 @@ static loff_t snd_info_entry_llseek(struct file *file, loff_t offset, int orig)
175 switch (entry->content) { 175 switch (entry->content) {
176 case SNDRV_INFO_CONTENT_TEXT: 176 case SNDRV_INFO_CONTENT_TEXT:
177 switch (orig) { 177 switch (orig) {
178 case 0: /* SEEK_SET */ 178 case SEEK_SET:
179 file->f_pos = offset; 179 file->f_pos = offset;
180 ret = file->f_pos; 180 ret = file->f_pos;
181 goto out; 181 goto out;
182 case 1: /* SEEK_CUR */ 182 case SEEK_CUR:
183 file->f_pos += offset; 183 file->f_pos += offset;
184 ret = file->f_pos; 184 ret = file->f_pos;
185 goto out; 185 goto out;
186 case 2: /* SEEK_END */ 186 case SEEK_END:
187 default: 187 default:
188 ret = -EINVAL; 188 ret = -EINVAL;
189 goto out; 189 goto out;