From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16810 invoked from network); 14 Nov 1999 00:52:22 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 14 Nov 1999 00:52:22 -0000 Received: from quantum.ece.ucsb.edu (root@quantum.ece.ucsb.edu [128.111.185.95]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA29124; Sat, 13 Nov 1999 19:52:21 -0500 Received: from cluster1 (feynman.ece.ucsb.edu [128.111.29.124]) by quantum.ece.ucsb.edu (8.8.6 (PHNE_17135)/8.8.6) with SMTP id QAA28002; Sat, 13 Nov 1999 16:52:14 -0800 (PST) From: Michael Werner Reply-To: werner@quantum.ece.ucsb.edu Organization: ECE-UCSB To: axp-list@redhat.com Subject: 2.3.28 kernels Date: Sat, 13 Nov 1999 16:40:29 -0800 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: mingo@redhat.com MIME-Version: 1.0 Message-Id: <99111316521400.06144@cluster1> Content-Transfer-Encoding: 8bit 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