[linux-dvb] [akpm@osdl.org: [patch 1/1] or51132_load_firmware warning fix]

Gerd Knorr kraxel at bytesex.org
Thu Mar 10 11:09:54 CET 2005


  Hi,

Little fix for the or51132 fe driver ...

  Gerd

----- Forwarded message from akpm at osdl.org -----

Date: Wed, 09 Mar 2005 22:34:40 -0800
From: akpm at osdl.org
Subject: [patch 1/1] or51132_load_firmware warning fix
To: kraxel at bytesex.org
Cc: kirk_lapray at bigfoot.com, akpm at osdl.org
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=0.16.4



drivers/media/dvb/frontends/or51132.c: In function `or51132_load_firmware':
drivers/media/dvb/frontends/or51132.c:113: warning: long int format, int arg (arg 2)

Signed-off-by: Andrew Morton <akpm at osdl.org>
---

 25-akpm/drivers/media/dvb/frontends/or51132.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/media/dvb/frontends/or51132.c~or51132_load_firmware-warning-fix drivers/media/dvb/frontends/or51132.c
--- 25/drivers/media/dvb/frontends/or51132.c~or51132_load_firmware-warning-fix	2005-03-09 22:34:34.000000000 -0800
+++ 25-akpm/drivers/media/dvb/frontends/or51132.c	2005-03-09 22:34:34.000000000 -0800
@@ -110,7 +110,7 @@ static int or51132_load_firmware (struct
 	u32 firmwareAsize, firmwareBsize;
 	int i,ret;
 
-	dprintk("Firmware is %ld bytes\n",fw->size);
+	dprintk("Firmware is %Zd bytes\n",fw->size);
 
 	/* Get size of firmware A and B */
 	firmwareAsize = le32_to_cpu(*((u32*)fw->data));
_

----- End forwarded message -----

-- 
#define printk(args...) fprintf(stderr, ## args)




More information about the linux-dvb mailing list