diff options
Diffstat (limited to 'packages/linux/linux-wrt-2.4.20/gcc3.patch')
-rw-r--r-- | packages/linux/linux-wrt-2.4.20/gcc3.patch | 40 |
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); + } + } |