Skip to contentSkip to conversation

next-20160607 build: 2 failures 9 warnings (next-20160607)

PATCH New Build bot for Mark Brown 4 participants 5 messages Jun 7, 2016

Subsystems (3)
lore
Share & tools
lore

Build bot for Mark Brown

author maintainer
#0 lore raw

Tree/Branch: next-20160607
Git describe: next-20160607
Commit: 7b95734f90 Add linux-next specific files for 20160607

Build Time: 68 min 13 sec

Passed:    7 / 9   ( 77.78 %)
Failed:    2 / 9   ( 22.22 %)

Errors: 2
Warnings: 9
Section Mismatches: 0

Failed defconfigs:
arm64-allmodconfig
arm-allmodconfig

Errors:

arm64-allmodconfig
../drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h:19:27: fatal error: asm/dma-iommu.h: No such file or directory

arm-allmodconfig
../include/linux/compiler-gcc.h:243:38: error: impossible constraint in 'asm' ../include/linux/compiler-gcc.h:243:38: error: impossible constraint in 'asm' ../include/linux/compiler-gcc.h:243:38: error: impossible constraint in 'asm'

-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):

      3 warnings    0 mismatches  : arm64-allmodconfig
     72 warnings    0 mismatches  : arm-allmodconfig
      4 warnings    0 mismatches  : arm64-defconfig

-------------------------------------------------------------------------------

Errors summary: 2
3 ../include/linux/compiler-gcc.h:243:38: error: impossible constraint in 'asm'
1 ../drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h:19:27: fatal error: asm/dma-iommu.h: No such file or directory

Warnings Summary: 9
66 ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints
2 ../include/linux/err.h:21:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2 ../include/linux/dynamic_debug.h:134:3: warning: 'carrier_offset' may be used uninitialized in this function [-Wmaybe-uninitialized] 2 ../include/linux/compaction.h:242:54: warning: 'struct node' declared inside parameter list
2 ../include/linux/compaction.h:237:51: warning: its scope is only this definition or declaration, which is probably not what you want 2 ../include/linux/compaction.h:237:51: warning: 'struct node' declared inside parameter list
1 ../drivers/staging/iio/adc/ad7606_spi.c:24:18: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../drivers/gpu/drm/omapdrm/dss/hdmi5.c:123:6: warning: unused variable 'r' [-Wunused-variable]
1 ../drivers/gpu/drm/omapdrm/dss/dsi.c:1170:6: warning: unused variable 'r' [-Wunused-variable]

===============================================================================
Detailed per-defconfig build reports below:

-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 1 errors, 3 warnings, 0 section mismatches

Errors:
../drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h:19:27: fatal error: asm/dma-iommu.h: No such file or directory

Warnings:
../include/linux/err.h:21:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../include/linux/dynamic_debug.h:134:3: warning: 'carrier_offset' may be used uninitialized in this function [-Wmaybe-uninitialized] ../drivers/staging/iio/adc/ad7606_spi.c:24:18: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]

-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 3 errors, 72 warnings, 0 section mismatches

Errors:
../include/linux/compiler-gcc.h:243:38: error: impossible constraint in 'asm' ../include/linux/compiler-gcc.h:243:38: error: impossible constraint in 'asm' ../include/linux/compiler-gcc.h:243:38: error: impossible constraint in 'asm'

Warnings:
../include/linux/compaction.h:237:51: warning: 'struct node' declared inside parameter list ../include/linux/compaction.h:237:51: warning: its scope is only this definition or declaration, which is probably not what you want ../include/linux/compaction.h:242:54: warning: 'struct node' declared inside parameter list ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../include/linux/compiler-gcc.h:243:38: warning: asm operand 0 probably doesn't match constraints ../drivers/gpu/drm/omapdrm/dss/dsi.c:1170:6: warning: unused variable 'r' [-Wunused-variable] ../drivers/gpu/drm/omapdrm/dss/hdmi5.c:123:6: warning: unused variable 'r' [-Wunused-variable] ../include/linux/dynamic_debug.h:134:3: warning: 'carrier_offset' may be used uninitialized in this function [-Wmaybe-uninitialized]

-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches

Warnings:
../include/linux/compaction.h:237:51: warning: 'struct node' declared inside parameter list ../include/linux/compaction.h:237:51: warning: its scope is only this definition or declaration, which is probably not what you want ../include/linux/compaction.h:242:54: warning: 'struct node' declared inside parameter list ../include/linux/err.h:21:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
-------------------------------------------------------------------------------

Passed with no errors, warnings or mismatches:

arm64-allnoconfig
arm-multi_v5_defconfig
arm-multi_v7_defconfig
x86_64-defconfig
arm-allnoconfig
x86_64-allnoconfig

author maintainer
#1 lore raw

On Tue, Jun 07, 2016 at 08:35:02AM +0100, Build bot for Mark Brown wrote:

Today's -next fails to build an arm64 allmodconfig due to:

Quoted 2 lines

arm64-allmodconfig
../drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h:19:27: fatal error: asm/dma-iommu.h: No such file or directory

introduced by 04f776734c4e (media: s5p-mfc: add iommu support) which
relies on a header which is only available on 32 bit ARM. I suspect the
driver should be using linux/dma-iommu.h instead.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160607/eae13f6d/attachment.sig>

#2 lore raw

PATCH 1/1 media: s5p-mfc: fix compilation issue on archs other than ARM (32bit)

This patch fixes build break caused by lack of dma-iommu API on ARM64 (this API is specific to ARM 32bit architecture).

---
 drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h +1 -1
index 5d1d1c2..6962132 100644
@@ -14,7 +14,7 @@
 #define S5P_MFC_IOMMU_DMA_BASE	0x20000000lu
 #define S5P_MFC_IOMMU_DMA_SIZE	SZ_256M
 
-#ifdef CONFIG_EXYNOS_IOMMU
+#if defined(CONFIG_EXYNOS_IOMMU) && defined(CONFIG_ARM_DMA_USE_IOMMU)
 
 #include <asm/dma-iommu.h>
 
Signature · 1 line
1.9.2
#3 lore raw
In reply to Mark Brown
Quoted 10 lines · Mark Brown

On Tue, Jun 07, 2016 at 08:35:02AM +0100, Build bot for Mark Brown wrote:

Today's -next fails to build an arm64 allmodconfig due to:

Quoted 2 lines

arm64-allmodconfig
../drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h:19:27: fatal error: asm/dma-iommu.h: No such file or directory

introduced by 04f776734c4e (media: s5p-mfc: add iommu support) which relies on a header which is only available on 32 bit ARM. I suspect the driver should be using linux/dma-iommu.h instead.

Since the mfc topic branch got already pulled to the samsung-soc tree, as discussed in other thread [1], there is a build break in -next. There is a patch to fix this issue and to include it in next, as we agreed on irc, could you please pull this branch into your "for-next" tree:

git://linuxtv.org/snawrocki/samsung.git for-v4.8/media/exynos-mfc

and then apply that patch [2] ?
"media: s5p-mfc: fix compilation issue on archs other than ARM (32bit)"

Signature · 5 lines
Thanks,
Sylwester

[1] https://patchwork.linuxtv.org/patch/34495
[2] https://patchwork.linuxtv.org/patch/34515
#4 lore raw

Em Tue, 07 Jun 2016 15:22:58 +0200
Sylwester Nawrocki <[email protected]> escreveu:

Quoted 18 lines · Mark Brown
Quoted 10 lines · Build bot for Mark Brown

Today's -next fails to build an arm64 allmodconfig due to:

Quoted 2 lines

arm64-allmodconfig
../drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h:19:27: fatal error: asm/dma-iommu.h: No such file or directory

introduced by 04f776734c4e (media: s5p-mfc: add iommu support) which relies on a header which is only available on 32 bit ARM. I suspect the driver should be using linux/dma-iommu.h instead.

Since the mfc topic branch got already pulled to the samsung-soc tree, as discussed in other thread [1], there is a build break in -next. There is a patch to fix this issue and to include it in next, as we agreed on irc, could you please pull this branch into your "for-next" tree:

Quoted 4 lines

git://linuxtv.org/snawrocki/samsung.git for-v4.8/media/exynos-mfc

and then apply that patch [2] ?
"media: s5p-mfc: fix compilation issue on archs other than ARM (32bit)"

Sure. Applied, thanks!

Mauro