The patch titled opl4: Use SEEK_{SET, CUR, END} instead of hardcoded values has been added to the -mm tree. Its filename is opl4-use-seek_set-cur.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: opl4: Use SEEK_{SET, CUR, END} instead of hardcoded values From: "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx> opl4: Use SEEK_{SET,CUR,END} instead of hardcoded values Signed-off-by: Josef 'Jeff' Sipek <jeffpc@xxxxxxxxxxxxxx> Cc: Jaroslav Kysela <perex@xxxxxxx> Cc: Takashi Iwai <tiwai@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- sound/drivers/opl4/opl4_proc.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -puN sound/drivers/opl4/opl4_proc.c~opl4-use-seek_set-cur sound/drivers/opl4/opl4_proc.c --- a/sound/drivers/opl4/opl4_proc.c~opl4-use-seek_set-cur +++ a/sound/drivers/opl4/opl4_proc.c @@ -105,13 +105,13 @@ static long long snd_opl4_mem_proc_llsee struct file *file, long long offset, int orig) { switch (orig) { - case 0: /* SEEK_SET */ + case SEEK_SET: file->f_pos = offset; break; - case 1: /* SEEK_CUR */ + case SEEK_CUR: file->f_pos += offset; break; - case 2: /* SEEK_END, offset is negative */ + case SEEK_END: /* offset is negative */ file->f_pos = entry->size + offset; break; default: _ Patches currently in -mm which might be from jeffpc@xxxxxxxxxxxxxx are mbcs-use-seek_set-cur.patch eicon-isdn-removed-unused-definitions-for-os_seek_.patch cifs-use-seek_end-instead-of-hardcoded-value.patch nfs-use-seek_end-instead-of-hardcoded-value.patch vfs-use-seek_set-cur.patch sound-core-use-seek_set-cur.patch opl4-use-seek_set-cur.patch gus-use-seek_set-cur.patch mixart-use-seek_set-cur.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html