]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/linux-wrt-2.4.20/gcc3.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / linux-wrt-2.4.20 / gcc3.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- linux-2.4.20/drivers/mtd/mtdblock_ro.c~gcc3 2005-01-07 04:49:24.300224000 -0500
7 +++ linux-2.4.20/drivers/mtd/mtdblock_ro.c      2005-01-07 04:50:19.309861960 -0500
8 @@ -178,7 +178,7 @@
9                 res = 0;
10  
11                 if (MINOR(req->rq_dev) >= MAX_MTD_DEVICES)
12 -                       panic(__FUNCTION__": minor out of bound");
13 +                       panic("%s: minor out of bound", __FUNCTION__);
14        
15                 if ((req->sector + req->current_nr_sectors) > (mtdblk->mtd->size >> 9))
16                         goto end_req;
17 --- linux-2.4.20/net/ipv4/netfilter/ip_nat_helper.c~gcc3        2005-01-07 04:49:24.303224000 -0500
18 +++ linux-2.4.20/net/ipv4/netfilter/ip_nat_helper.c     2005-01-07 04:50:19.310861808 -0500
19 @@ -382,9 +382,9 @@
20                         const char *tmp = me->me->name;
21                         
22                         if (strlen(tmp) + 6 > MODULE_MAX_NAMELEN) {
23 -                               printk(__FUNCTION__ ": unable to "
24 +                               printk("%s: unable to "
25                                        "compute conntrack helper name "
26 -                                      "from %s\n", tmp);
27 +                                      "from %s\n", __FUNCTION__, tmp);
28                                 return -EBUSY;
29                         }
30                         tmp += 6;
31 @@ -467,7 +467,7 @@
32                     && ct_helper->me) {
33                         __MOD_DEC_USE_COUNT(ct_helper->me);
34                 } else 
35 -                       printk(__FUNCTION__ ": unable to decrement usage count"
36 -                              " of conntrack helper %s\n", me->me->name);
37 +                       printk("%s: unable to decrement usage count"
38 +                              " of conntrack helper %s\n", __FUNCTION__, me->me->name);
39         }
40  }