summaryrefslogtreecommitdiff
path: root/packages/linux/linux-wrt-2.4.20/gcc3.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/linux/linux-wrt-2.4.20/gcc3.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/linux/linux-wrt-2.4.20/gcc3.patch')
-rw-r--r--packages/linux/linux-wrt-2.4.20/gcc3.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/linux/linux-wrt-2.4.20/gcc3.patch b/packages/linux/linux-wrt-2.4.20/gcc3.patch
index e69de29bb2..bb4ee661b4 100644
--- a/packages/linux/linux-wrt-2.4.20/gcc3.patch
+++ b/packages/linux/linux-wrt-2.4.20/gcc3.patch
@@ -0,0 +1,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);
+ }
+ }