aboutsummaryrefslogtreecommitdiffstats
path: root/packages/linux/linux-wrt-2.4.20/gcc3.patch
blob: bb4ee661b428e1be90d61ce7e39886db1264ea4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- linux-2.4.20/drivers/mtd/mtdblock_ro.c~gcc3	2005-01-07 04:49:24.300224000 -0500
+++ linux-2.4.20/drivers/mtd/mtdblock_ro.c	2005-01-07 04:50:19.309861960 -0500
@@ -178,7 +178,7 @@
 		res = 0;
 
 		if (MINOR(req->rq_dev) >= MAX_MTD_DEVICES)
-			panic(__FUNCTION__": minor out of bound");
+			panic("%s: minor out of bound", __FUNCTION__);
       
 		if ((req->sector + req->current_nr_sectors) > (mtdblk->mtd->size >> 9))
 			goto end_req;
--- linux-2.4.20/net/ipv4/netfilter/ip_nat_helper.c~gcc3	2005-01-07 04:49:24.303224000 -0500
+++ linux-2.4.20/net/ipv4/netfilter/ip_nat_helper.c	2005-01-07 04:50:19.310861808 -0500
@@ -382,9 +382,9 @@
 			const char *tmp = me->me->name;
 			
 			if (strlen(tmp) + 6 > MODULE_MAX_NAMELEN) {
-				printk(__FUNCTION__ ": unable to "
+				printk("%s: unable to "
 				       "compute conntrack helper name "
-				       "from %s\n", tmp);
+				       "from %s\n", __FUNCTION__, tmp);
 				return -EBUSY;
 			}
 			tmp += 6;
@@ -467,7 +467,7 @@
 		    && ct_helper->me) {
 			__MOD_DEC_USE_COUNT(ct_helper->me);
 		} else 
-			printk(__FUNCTION__ ": unable to decrement usage count"
-			       " of conntrack helper %s\n", me->me->name);
+			printk("%s: unable to decrement usage count"
+			       " of conntrack helper %s\n", __FUNCTION__, me->me->name);
 	}
 }