+ sound-core-use-seek_set-cur.patch added to -mm tree

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

 



The patch titled

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

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

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

sound core: 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/core/info.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -puN sound/core/info.c~sound-core-use-seek_set-cur sound/core/info.c
--- a/sound/core/info.c~sound-core-use-seek_set-cur
+++ a/sound/core/info.c
@@ -175,15 +175,15 @@ static loff_t snd_info_entry_llseek(stru
 	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;
_

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