Skip to contentSkip to conversation

build failure: linux-next: ARM defconfigs: imx_v4_v5, imx_v6_v7

DISCUSSION Kevin Hilman 2 participants 2 messages May 30, 2013

lore
Share & tools
lore

Kevin Hilman

author Acked-by H Hartley Sweeten
#0 lore raw

Hello,

The SPI driver for IMX started failing in linux-next (next-20130530) where the previous tag build fine. Below is the build error[1], followed by the the commit[2] that I think introduced the problem. It appears to be some missing (or extra) curly braces.

Full console build logs are here:
https://ci.linaro.org/jenkins/job/khilman-kernel-arm-next/arch=arm,defconfig=imx_v4_v5_defconfig,label=kernel_cloud/64/console
https://ci.linaro.org/jenkins/job/khilman-kernel-arm-next/arch=arm,defconfig=imx_v6_v7_defconfig,label=kernel_cloud/64/console

Kevin

[1]
/work/kernel/next/drivers/spi/spi-imx.c: In function ?spi_imx_setupxfer?:
/work/kernel/next/drivers/spi/spi-imx.c:703:2: warning: no return statement in function returning non-void [-Wreturn-type] /work/kernel/next/drivers/spi/spi-imx.c: At top level:
/work/kernel/next/drivers/spi/spi-imx.c:705:9: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?->? token /work/kernel/next/drivers/spi/spi-imx.c:707:2: error: expected identifier or ?(? before ?return? /work/kernel/next/drivers/spi/spi-imx.c:708:1: error: expected identifier or ?(? before ?}? token /work/kernel/next/drivers/spi/spi-imx.c: In function ?spi_imx_probe?:
/work/kernel/next/drivers/spi/spi-imx.c:783:2: warning: left shift count >= width of type [enabled by default]

[2]
commit 24778be20f87d5aadb19624fc768b3159fa43efc

Author: Stephen Warren <[email protected]>
Date:   Tue May 21 20:36:35 2013 -0600

spi: convert drivers to use bits_per_word_mask

Fill in the recently added spi_master.bits_per_word_mask field in as many drivers as possible. Make related cleanups, such as removing any redundant error-checking, or empty setup callbacks.

#1 lore raw
Quoted 6 lines · Kevin Hilman

Hello,

The SPI driver for IMX started failing in linux-next (next-20130530) where the previous tag build fine. Below is the build error[1], followed by the the commit[2] that I think introduced the problem. It appears to be some missing (or extra) curly braces.

Sorry about that. Sachin Kamat <[email protected]> has already sent a patch, which Mark has applied, so this should be fixed in the next linux-next. Unfortunately, linux-spi at vger.kernel.org doesn't seem to be archived anywhere, so I can't link to it. Oh, I guess gitweb has it:

https://git.kernel.org/cgit/linux/kernel/git/broonie/spi.git/commit/?h=topic/bpw&id=6051426fd0538eac4e28c55a08e4f4fb1c709b65