+ gus-use-seek_set-cur.patch added to -mm tree

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

 



The patch titled

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

has been added to the -mm tree.  Its filename is

     gus-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: gus: Use SEEK_{SET, CUR, END} instead of hardcoded values
From: "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx>

gus: 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/isa/gus/gus_mem_proc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -puN sound/isa/gus/gus_mem_proc.c~gus-use-seek_set-cur sound/isa/gus/gus_mem_proc.c
--- a/sound/isa/gus/gus_mem_proc.c~gus-use-seek_set-cur
+++ a/sound/isa/gus/gus_mem_proc.c
@@ -61,13 +61,13 @@ static long long snd_gf1_mem_proc_llseek
 	struct gus_proc_private *priv = entry->private_data;
 
 	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 = priv->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

[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