In current -next of_graph.h fails to build due to it relying on
linux/types.h without explicitly including it:
../include/linux/of_graph.h:43:71: error: unknown type name 'u32'
caused by bfe446e37c4e (of: Add of_graph_get_port_by_id function). Add
an explicit inclusion to fix this.
Signed-off-by: Mark Brown <broonie(a)kernel.org>
---
include/linux/of_graph.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/of_graph.h b/include/linux/of_graph.h
index 3c1c95a39e0c..7bc92e050608 100644
--- a/include/linux/of_graph.h
+++ b/include/linux/of_graph.h
@@ -14,6 +14,8 @@
#ifndef __LINUX_OF_GRAPH_H
#define __LINUX_OF_GRAPH_H
+#include <linux/types.h>
+
/**
* struct of_endpoint - the OF graph endpoint data structure
* @port: identifier (value of reg property) of a port this endpoint belongs to
--
2.1.4
Here are the build results from automated periodic testing.
The tree being built was next, found at:
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git (master branch)
Topmost commit:
9328510 Add linux-next specific files for 20150326
Build logs (stderr only) can be found at the following link (experimental):
http://arm-soc.lixom.net/buildlogs/next/next-20150326/
Runtime: 55m 44s
Passed: 117
Failed: 2
Warnings: 172
Section mismatches: 0
-------------------------------------------------------------------------------
Failed defconfigs:
arm.allmodconfig
arm.tegra_defconfig
-------------------------------------------------------------------------------
Errors:
arm.allmodconfig:
fs/btrfs/inode.c:8094:2: error: implicit declaration of function 'iov_iter_alignment' [-Werror=implicit-function-declaration]
fs/btrfs/inode.c:8105:26: error: dereferencing pointer to incomplete type
fs/btrfs/inode.c:8106:29: error: dereferencing pointer to incomplete type
fs/btrfs/inode.c:8107:12: error: dereferencing pointer to incomplete type
fs/btrfs/inode.c:8107:39: error: dereferencing pointer to incomplete type
fs/btrfs/inode.c:8140:2: error: implicit declaration of function 'iov_iter_count' [-Werror=implicit-function-declaration]
include/linux/of_graph.h:43:71: error: unknown type name 'u32'
drivers/mfd/qcom_rpm.c:331:3: error: 'QCOM_RPM_NSS_FABRIC_0_CLK' undeclared here (not in a function)
drivers/mfd/qcom_rpm.c:331:2: error: array index in initializer not of integer type
drivers/mfd/qcom_rpm.c:331:2: error: (near initialization for 'ipq806x_rpm_resource_table')
drivers/mfd/qcom_rpm.c:335:3: error: 'QCOM_RPM_NSS_FABRIC_1_CLK' undeclared here (not in a function)
drivers/mfd/qcom_rpm.c:335:2: error: array index in initializer not of integer type
drivers/mfd/qcom_rpm.c:335:2: error: (near initialization for 'ipq806x_rpm_resource_table')
drivers/mfd/qcom_rpm.c:354:3: error: 'QCOM_RPM_SMB208_S1a' undeclared here (not in a function)
drivers/mfd/qcom_rpm.c:354:2: error: array index in initializer not of integer type
drivers/mfd/qcom_rpm.c:354:2: error: (near initialization for 'ipq806x_rpm_resource_table')
drivers/mfd/qcom_rpm.c:355:3: error: 'QCOM_RPM_SMB208_S1b' undeclared here (not in a function)
drivers/mfd/qcom_rpm.c:355:2: error: array index in initializer not of integer type
drivers/mfd/qcom_rpm.c:355:2: error: (near initialization for 'ipq806x_rpm_resource_table')
drivers/mfd/qcom_rpm.c:356:3: error: 'QCOM_RPM_SMB208_S2a' undeclared here (not in a function)
drivers/mfd/qcom_rpm.c:356:2: error: array index in initializer not of integer type
drivers/mfd/qcom_rpm.c:356:2: error: (near initialization for 'ipq806x_rpm_resource_table')
drivers/mfd/qcom_rpm.c:357:3: error: 'QCOM_RPM_SMB208_S2b' undeclared here (not in a function)
drivers/mfd/qcom_rpm.c:357:2: error: array index in initializer not of integer type
drivers/mfd/qcom_rpm.c:357:2: error: (near initialization for 'ipq806x_rpm_resource_table')
drivers/net/ethernet/broadcom/bgmac.c:20:27: fatal error: bcm47xx_nvram.h: No such file or directory
arm.tegra_defconfig:
drivers/gpu/drm/panel/panel-simple.c:114: undefined reference to `drm_display_mode_from_videomode'
drivers/gpu/drm/panel/panel-simple.c:106: undefined reference to `videomode_from_timing'
Warnings:
1 arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
1 drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
1 drivers/gpio/gpio-74xx-mmio.c:132:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 drivers/gpu/drm/i915/intel_display.c:9336:1: warning: label 'out' defined but not used [-Wunused-label]
1 drivers/infiniband/hw/ehca/ehca_mrmw.c:1907:6: warning: 'prev_pgaddr' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 drivers/infiniband/hw/ehca/ehca_mrmw.c:2430:5: warning: 'hret' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
1 drivers/mmc/host/sh_mmcif.c:401:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 drivers/mmc/host/sh_mmcif.c:402:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
1 drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 drivers/usb/renesas_usbhs/common.c:492:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 include/linux/compiler.h:233:3: warning: call to 'data_access_exceeds_word_size' declared with attribute warning: data access exceeds word size and won't be atomic
1 include/sound/control.h:219:2: warning: 'master_vol' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 lib/cpumask.c:195:25: warning: the address of 'cpu_all_bits' will always evaluate as 'true' [-Waddress]
1 lib/lz4/lz4hc_compress.c:514:1: warning: the frame size of 1480 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
2 drivers/dma/xilinx/xilinx_vdma.c:502:5: warning: passing argument 2 of 'dma_pool_create' from incompatible pointer type
2 drivers/net/ethernet/broadcom/tg3.c:12059:4: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
2 include/linux/dmapool.h:18:4: warning: its scope is only this definition or declaration, which is probably not what you want
2 include/linux/dmapool.h:18:4: warning: 'struct device' declared inside parameter list
2 include/linux/dmapool.h:31:7: warning: 'struct device' declared inside parameter list
4 sound/soc/codecs/pcm512x.c:34:0: warning: "DIV_ROUND_CLOSEST_ULL" redefined
6 arch/arm/include/asm/cmpxchg.h:205:3: warning: value computed is not used [-Wunused-value]
20 arch/arm/include/asm/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value]
111 include/linux/compiler.h:216:3: warning: call to 'data_access_exceeds_word_size' declared with attribute warning: data access exceeds word size and won't be atomic
Section mismatches: