* Linux next-20190807: arm64: build failed - phy-rockchip-inno-hdmi.c:1046:26: error: anonymous bit-field has negative width (-1)
@ 2019-08-07 11:18 Naresh Kamboju
2019-08-08 1:01 ` Stephen Rothwell
0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2019-08-07 11:18 UTC (permalink / raw)
To: open list, Linux-Next Mailing List, kishon, heiko,
linux-arm-kernel, linux-rockchip, Stephen Rothwell
Cc: lkft-triage
Linux next 20190807 arm64 default config build failed due to below error.
/drivers/phy/rockchip/phy-rockchip-inno-hdmi.c:1046:26: error:
anonymous bit-field has negative width (-1)
inno_write(inno, 0xc6, RK3328_TERM_RESISTOR_CALIB_SPEED_7_0(v));
^
../drivers/phy/rockchip/phy-rockchip-inno-hdmi.c:201:50: note:
expanded from macro 'RK3328_TERM_RESISTOR_CALIB_SPEED_7_0'
#define RK3328_TERM_RESISTOR_CALIB_SPEED_7_0(x) UPDATE(x, 7, 9)
^
../drivers/phy/rockchip/phy-rockchip-inno-hdmi.c:24:42: note: expanded
from macro 'UPDATE'
#define UPDATE(x, h, l) (((x) << (l)) & GENMASK((h), (l)))
^
../include/linux/bits.h:39:3: note: expanded from macro 'GENMASK'
(GENMASK_INPUT_CHECK(high, low) + __GENMASK(high, low))
^
../include/linux/bits.h:24:18: note: expanded from macro 'GENMASK_INPUT_CHECK'
((unsigned long)BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
^
../include/linux/build_bug.h:16:47: note: expanded from macro
'BUILD_BUG_ON_ZERO'
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
Config link,
https://storage.kernelci.org/next/master/next-20190807/arm64/defconfig/clang-8/kernel.config
Build link,
https://storage.kernelci.org/next/master/next-20190807/arm64/defconfig/clang-8/build.log
--
Naresh Kamoju
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linux next-20190807: arm64: build failed - phy-rockchip-inno-hdmi.c:1046:26: error: anonymous bit-field has negative width (-1)
2019-08-07 11:18 Linux next-20190807: arm64: build failed - phy-rockchip-inno-hdmi.c:1046:26: error: anonymous bit-field has negative width (-1) Naresh Kamboju
@ 2019-08-08 1:01 ` Stephen Rothwell
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2019-08-08 1:01 UTC (permalink / raw)
To: Naresh Kamboju
Cc: open list, Linux-Next Mailing List, kishon, heiko,
linux-arm-kernel, linux-rockchip, lkft-triage
[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]
Hi Naresh,
On Wed, 7 Aug 2019 16:48:15 +0530 Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>
> Linux next 20190807 arm64 default config build failed due to below error.
>
> /drivers/phy/rockchip/phy-rockchip-inno-hdmi.c:1046:26: error:
> anonymous bit-field has negative width (-1)
> inno_write(inno, 0xc6, RK3328_TERM_RESISTOR_CALIB_SPEED_7_0(v));
> ^
> ../drivers/phy/rockchip/phy-rockchip-inno-hdmi.c:201:50: note:
> expanded from macro 'RK3328_TERM_RESISTOR_CALIB_SPEED_7_0'
> #define RK3328_TERM_RESISTOR_CALIB_SPEED_7_0(x) UPDATE(x, 7, 9)
> ^
> ../drivers/phy/rockchip/phy-rockchip-inno-hdmi.c:24:42: note: expanded
> from macro 'UPDATE'
> #define UPDATE(x, h, l) (((x) << (l)) & GENMASK((h), (l)))
> ^
> ../include/linux/bits.h:39:3: note: expanded from macro 'GENMASK'
> (GENMASK_INPUT_CHECK(high, low) + __GENMASK(high, low))
> ^
> ../include/linux/bits.h:24:18: note: expanded from macro 'GENMASK_INPUT_CHECK'
> ((unsigned long)BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
> ^
> ../include/linux/build_bug.h:16:47: note: expanded from macro
> 'BUILD_BUG_ON_ZERO'
> #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
>
> Config link,
> https://storage.kernelci.org/next/master/next-20190807/arm64/defconfig/clang-8/kernel.config
>
> Build link,
> https://storage.kernelci.org/next/master/next-20190807/arm64/defconfig/clang-8/build.log
I think the patch that caused this has been removed form linux-next for
today (it had other problems as well).
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-08 1:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-07 11:18 Linux next-20190807: arm64: build failed - phy-rockchip-inno-hdmi.c:1046:26: error: anonymous bit-field has negative width (-1) Naresh Kamboju
2019-08-08 1:01 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).