[PATCHv2 16/18] DSPBRIDGE: KFILE_Seek & KFILE_Tell, u32 replaced with loff_t

Omar Ramirez Luna
2009-12-17T02:08:50Z

KFILE_Seek & KFILE_Tell, u32 replaced with loff_t

Discovered-by: Ameya Palande <ameya.palande@nokia.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
---
drivers/dsp/bridge/pmgr/cod.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dsp/bridge/pmgr/cod.c b/drivers/dsp/bridge/pmgr/cod.c
index a85f2a7..1ebbe8d 100644
--- a/drivers/dsp/bridge/pmgr/cod.c
+++ b/drivers/dsp/bridge/pmgr/cod.c
@@ -199,7 +199,7 @@ static s32 COD_fRead(void __user *pBuffer, s32 cSize, s32 cCount,

static s32 COD_fSeek(struct file *hFile, s32 lOffset, s32 cOrigin)
{
- u32 dwCurPos;
+ loff_t dwCurPos;

/* check for valid file handle */
if (!hFile)
@@ -217,7 +217,7 @@ static s32 COD_fSeek(struct file *hFile, s32 lOffset, s32 cOrigin)

static s32 COD_fTell(struct file *hFile)
{
- u32 dwCurPos;
+ loff_t dwCurPos;

if (!hFile)
return DSP_EHANDLE;
--
1.6.2.4