- opl4-use-seek_set-cur.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     opl4: Use SEEK_{SET, CUR, END} instead of hardcoded values

has been removed from the -mm tree.  Its filename is

     opl4-use-seek_set-cur.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
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

origin.patch
git-cifs.patch
mbcs-use-seek_set-cur.patch
eicon-isdn-removed-unused-definitions-for-os_seek_.patch
vfs-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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux