diff --git a/[refs] b/[refs] index afdf3955643d..0271811b783e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: eb06ed8f4c2440558ebf465e8baeac6367d90201 +refs/heads/master: e6f8f108a19638d7c6535ab393a228ed9d4804a6 diff --git a/trunk/sound/core/info.c b/trunk/sound/core/info.c index 9663b6be9c3a..e43662b33f16 100644 --- a/trunk/sound/core/info.c +++ b/trunk/sound/core/info.c @@ -175,15 +175,15 @@ static loff_t snd_info_entry_llseek(struct file *file, loff_t offset, int orig) switch (entry->content) { case SNDRV_INFO_CONTENT_TEXT: switch (orig) { - case 0: /* SEEK_SET */ + case SEEK_SET: file->f_pos = offset; ret = file->f_pos; goto out; - case 1: /* SEEK_CUR */ + case SEEK_CUR: file->f_pos += offset; ret = file->f_pos; goto out; - case 2: /* SEEK_END */ + case SEEK_END: default: ret = -EINVAL; goto out;