Re: [PATCH v4 0/7] enable support for AMBA drivers under x86

From: H. Peter Anvin
Date: Wed Dec 12 2012 - 21:17:30 EST


On 12/12/2012 06:02 PM, H. Peter Anvin wrote:
Hmm... with this patchset on top of v3.7 I still get a bunch of warnings
and errors.

More details when the build completes (if it does.) I might still push
out the branch to let Fengguang's test robot take it for a spin.


Build failure:

o.i386-allconfig/make.log:make[4]: *** [drivers/gpio/gpio-pl061.o] Error 1
o.i386-allconfig/make.log:make[3]: *** [drivers/gpio] Error 2

Warnings:

/home/hpa/kernel/tip.x86-amba/drivers/dma/amba-pl08x.c:848:3: warning: format â%xâ expects argument of type âunsigned intâ, but argument 4 has type âdma_addr_tâ [-Wformat]
/home/hpa/kernel/tip.x86-amba/drivers/dma/amba-pl08x.c:848:3: warning: format â%xâ expects argument of type âunsigned intâ, but argument 7 has type âdma_addr_tâ [-Wformat]
/home/hpa/kernel/tip.x86-amba/arch/x86/pci/sta2x11-fixup.c:186:2: warning: initialization from incompatible pointer type [enabled by default]
/home/hpa/kernel/tip.x86-amba/arch/x86/pci/sta2x11-fixup.c:186:2: warning: (near initialization for âsta2x11_dma_ops.freeâ) [enabled by default]
/home/hpa/kernel/tip.x86-amba/drivers/extcon/extcon-max77693.c:355:10: warning: âadclowâ may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/hpa/kernel/tip.x86-amba/drivers/extcon/extcon-max77693.c:355:10: warning: âadc1kâ may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/hpa/kernel/tip.x86-amba/drivers/extcon/extcon-max77693.c:355:10: warning: âadcâ may be used uninitialized in this function [-Wmaybe-uninitialized]

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/