From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11333 invoked from network); 15 Nov 1999 07:27:49 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 15 Nov 1999 07:27:49 -0000 Received: from comwid01.setila.ch ([195.49.96.162]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id CAA09842 for ; Mon, 15 Nov 1999 02:27:47 -0500 Received: by COMWID01 with Internet Mail Service (5.5.1960.3) id ; Mon, 15 Nov 1999 08:27:30 +0100 Message-ID: <0E6A4256E11CD2119E2F0000F802538C4CE543@COMWID01> From: Waibel Niki To: "'werner@quantum.ece.ucsb.edu'" , axp-list@redhat.com Subject: RE: 2.3.28 kernels Date: Mon, 15 Nov 1999 08:27:29 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain; charset="iso-8859-1" i figured that out on 2.3.25. it is since 2.3.22. is this the right mailinglist to push the patches? who of the linux kernel developer is responsible for the alpha port? or shall we send patches directly to linus torvalds? niki w. waibel >-----Original Message----- >From: Michael Werner [mailto:werner@quantum.ece.ucsb.edu] >Sent: Sunday, November 14, 1999 1:40 AM >To: axp-list@redhat.com >Subject: 2.3.28 kernels > > >mm/memory.c has problems on alpha as mentioned earlier. >It appears also that several casts to void * conflict with >their declarations. >i.e in include/linux/mm.h and include/linux/highmem.h >diffs for those appear below: > >[werner@feynman linux]$ diff mm.h.orig mm.h >306c306 >< clear_page((void *)page); >--- >> clear_page(page); >[werner@feynman linux]$ diff highmem.h highmem.h.orig >38c38 >< clear_page(kaddr); >--- >> clear_page((void *)kaddr); >74c74 >< copy_page(vto, vfrom); >--- >> copy_page((void *)vto, (void *)vfrom); > > >---------------------------------------------------------- > >These small changes remove a lot of warnings in the 2.3.28 >compilation but >more remain. Still working on those... > > make -C mm >make[1]: Entering directory `/usr/local/werner/linux/mm' >make all_targets >make[2]: Entering directory `/usr/local/werner/linux/mm' >gcc -D__KERNEL__ -I/usr/local/werner/linux/include -Wall >-Wstrict-prototypes -O2 > -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs >-ffixed-8 -mcpu=ev >5 -Wa,-mev6 -c -o memory.o memory.c >/usr/local/werner/linux/include/linux/highmem.h: In function >`clear_highpage': >In file included from memory.c:46: >/usr/local/werner/linux/include/linux/highmem.h:37: warning: >implicit declaratio >n of function `page_address' >memory.c: In function `copy_cow_page': >memory.c:63: warning: comparison between pointer and integer >memory.c: In function `free_one_pmd': >memory.c:93: warning: implicit declaration of function `pmd_ERROR' >memory.c: In function `free_one_pgd': >memory.c:110: warning: implicit declaration of function `pgd_ERROR' >memory.c: In function `copy_page_range': >memory.c:230: warning: implicit declaration of function >`pte_to_swp_entry' >memory.c:230: incompatible type for argument 1 of `swap_duplicate' >memory.c:234: warning: implicit declaration of function `pte_pagenr' >memory.c: In function `free_pte': >memory.c:285: incompatible type for argument 1 of `__swap_free' >memory.c: In function `follow_page': >memory.c:408: warning: return makes pointer from integer without a cast >memory.c: In function `get_page_map': >memory.c:423: warning: comparison between pointer and >integermemory.c: In function `put_dirty_page': >memory.c:741: warning: implicit declaration of function `pte_ERROR' >memory.c:746: warning: passing arg 1 of `mk_pte' makes integer >from pointer without a cast >memory.c: In function `do_wp_page': >memory.c:825: warning: passing arg 1 of `mk_pte' makes integer >from pointer without a cast >memory.c: In function `partial_clear': >memory.c:873: warning: assignment makes pointer from integer >without a cast >memory.c: In function `swapin_readahead': >memory.c:952: invalid operands to binary >> >memory.c:953: invalid operands to binary >> >memory.c:972: invalid operands to binary >> >memory.c:972: incompatible type for argument 1 of >`read_swap_cache_async' >memory.c: In function `do_swap_page': >memory.c:1004: warning: passing arg 1 of `mk_pte' makes >integer from pointer without a cast >memory.c:1010: warning: passing arg 1 of `mk_pte' makes >integer from pointer without a cast >memory.c: In function `do_anonymous_page': >memory.c:1034: warning: passing arg 1 of `mk_pte' makes >integer from pointer without a cast >memory.c: In function `do_no_page': >memory.c:1088: warning: passing arg 1 of `mk_pte' makes >integer from pointer without a cast >memory.c: In function `handle_pte_fault': >memory.c:1128: incompatible type for argument 5 of `do_swap_page' >make[2]: *** [memory.o] Error 1 >make[2]: Leaving directory `/usr/local/werner/linux/mm' >make[1]: *** [first_rule] Error 2 >make[1]: Leaving directory `/usr/local/werner/linux/mm' >make: *** [_dir_mm] Error 2 > >-- >To unsubscribe: send e-mail to axp-list-request@redhat.com with >'unsubscribe' as the subject. Do not send it to axp-list@redhat.com >