Prev: [PATCH resend] kernel/timer.c: fix kernel-doc function parameter warning
Next: [REVISED PULL REQUEST] md updates for 2.6.36
From: Andrew Morton on 9 Aug 2010 19:50 Guys. What's goin' on out there? drivers/power/olpc_battery.c:387: error: unknown field 'owner' specified in initializer drivers/power/olpc_battery.c:387: warning: initialization from incompatible pointer type make[2]: *** [drivers/power/olpc_battery.o] Error 1 make[1]: *** [drivers/power] Error 2 drivers/mtd/maps/gpio-addr-flash.c: In function 'gpio_flash_probe': drivers/mtd/maps/gpio-addr-flash.c:212: warning: cast to pointer from integer of different size drivers/mtd/maps/gpio-addr-flash.c:224: warning: cast to pointer from integer of different size drivers/pci/intel-iommu.c: In function 'dma_pte_addr': drivers/pci/intel-iommu.c:239: warning: passing argument 1 of '__cmpxchg64' from incompatible pointer type drivers/net/wan/farsync.c: In function 'fst_intr_rx': drivers/net/wan/farsync.c:1312: warning: cast to pointer from integer of different size drivers/net/wan/farsync.c: In function 'do_bottom_half_tx': drivers/net/wan/farsync.c:1407: warning: cast to pointer from integer of different size fs/squashfs/xattr.c:37: warning: 'squashfs_xattr_handler' declared inline after being called fs/squashfs/xattr.c:37: warning: previous declaration of 'squashfs_xattr_handler' was here drivers/net/wireless/ipw2x00/ipw2100.c: In function 'ipw2100_tx_send_commands': drivers/net/wireless/ipw2x00/ipw2100.c:3063: warning: cast to pointer from integer of different size In file included from drivers/platform/x86/intel_scu_ipc.c:26: /usr/src/devel/arch/x86/include/asm/mrst.h:14: warning: 'struct sfi_table_header' declared inside parameter list /usr/src/devel/arch/x86/include/asm/mrst.h:14: warning: its scope is only this definition or declaration, which is probably not what you want drivers/infiniband/hw/nes/nes_verbs.c: In function 'nes_alloc_fast_reg_page_list': drivers/infiniband/hw/nes/nes_verbs.c:477: warning: cast to pointer from integer of different size drivers/infiniband/hw/nes/nes_verbs.c: In function 'nes_post_send': drivers/infiniband/hw/nes/nes_verbs.c:3486: warning: cast to pointer from integer of different size drivers/infiniband/hw/nes/nes_verbs.c:3486: warning: cast to pointer from integer of different size drivers/infiniband/hw/cxgb4/cq.c: In function 'destroy_cq': drivers/infiniband/hw/cxgb4/cq.c:58: warning: cast from pointer to integer of different size drivers/infiniband/hw/cxgb4/cq.c: In function 'create_cq': drivers/infiniband/hw/cxgb4/cq.c:135: warning: cast from pointer to integer of different size drivers/dma/timb_dma.c: In function 'td_fill_desc': drivers/dma/timb_dma.c:203: warning: cast to pointer from integer of different size drivers/net/wireless/iwmc3200wifi/rx.c: In function 'iwm_ntf_wifi_if_wrapper': drivers/net/wireless/iwmc3200wifi/rx.c:1198: warning: comparison is always true due to limited range of data type -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Randy Dunlap on 9 Aug 2010 20:00 On Mon, 9 Aug 2010 16:43:46 -0700 Andrew Morton wrote: > > Guys. What's goin' on out there? > > > drivers/power/olpc_battery.c:387: error: unknown field 'owner' specified in initializer > drivers/power/olpc_battery.c:387: warning: initialization from incompatible pointer type > make[2]: *** [drivers/power/olpc_battery.o] Error 1 > make[1]: *** [drivers/power] Error 2 David Woodhouse fixed this one today. > fs/squashfs/xattr.c:37: warning: 'squashfs_xattr_handler' declared inline after being called > fs/squashfs/xattr.c:37: warning: previous declaration of 'squashfs_xattr_handler' was here I see this one on one system (with gcc 4.1.2) but not on f11 with gcc 4.4.1, although it should be OK to "fix" it. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Stephen Rothwell on 9 Aug 2010 20:20 Hi Andrew, On Mon, 9 Aug 2010 16:43:46 -0700 Andrew Morton <akpm(a)linux-foundation.org> wrote: > > Guys. What's goin' on out there? I guess we are all so up to date that noone does 32 bit builds any more ... Also noone is bothering to look at the build logs: linus tree: http://kisskb.ellerman.id.au/kisskb/branch/3/ linux-next: http://kisskb.ellerman.id.au/kisskb/branch/9/ > drivers/power/olpc_battery.c:387: error: unknown field 'owner' specified in initializer This is known and should be fixed in today's -next and hopefully being sent to Linus. -- Cheers, Stephen Rothwell sfr(a)canb.auug.org.au http://www.canb.auug.org.au/~sfr/
From: David Woodhouse on 9 Aug 2010 20:40 On Mon, 2010-08-09 at 16:43 -0700, Andrew Morton wrote: > > drivers/power/olpc_battery.c:387: error: unknown field 'owner' specified in initializer > drivers/power/olpc_battery.c:387: warning: initialization from incompatible pointer type > make[2]: *** [drivers/power/olpc_battery.o] Error 1 > make[1]: *** [drivers/power] Error 2 I fixed that today. > drivers/mtd/maps/gpio-addr-flash.c: In function 'gpio_flash_probe': > drivers/mtd/maps/gpio-addr-flash.c:212: warning: cast to pointer from integer of different size > drivers/mtd/maps/gpio-addr-flash.c:224: warning: cast to pointer from integer of different size Ew. Mike? Is this a nommu driver which is missing an ioremap()? > drivers/pci/intel-iommu.c: In function 'dma_pte_addr': > drivers/pci/intel-iommu.c:239: warning: passing argument 1 of '__cmpxchg64' from incompatible pointer type - return __cmpxchg64(pte, 0ULL, 0ULL) & VTD_PAGE_MASK; + return __cmpxchg64(&pte->val, 0ULL, 0ULL) & VTD_PAGE_MASK; Will test and push. -- David Woodhouse Open Source Technology Centre David.Woodhouse(a)intel.com Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Dan Williams on 9 Aug 2010 20:50
On 8/9/2010 4:43 PM, Andrew Morton wrote: > > Guys. What's goin' on out there? [..] > > drivers/dma/timb_dma.c: In function 'td_fill_desc': > drivers/dma/timb_dma.c:203: warning: cast to pointer from integer of different size The fix for this one is pending in my 2.6.36 pull request. I added the missing ARCH=i386, CONFIG_HIGHMEM64G=y case to my build regression script. -- Dan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |