Re: [PATCH] soc: rockchip: work around clang warning

2019-07-03 Thread Olof Johansson
On Wed, Jul 03, 2019 at 05:30:59PM +0200, Arnd Bergmann wrote: > clang emits a warning about a negative shift count for an > unused part of a conditional constant expression: > > drivers/soc/rockchip/pm_domains.c:795:21: error: shift count is negative > [-Werror,-Wshift-count-negative] >

Re: [PATCH] soc: rockchip: work around clang warning

2019-07-03 Thread Arnd Bergmann
On Wed, Jul 3, 2019 at 6:59 PM Nathan Chancellor wrote: > On Wed, Jul 03, 2019 at 05:30:59PM +0200, Arnd Bergmann wrote: > > clang emits a warning about a negative shift count for an > > unused part of a conditional constant expression: > > > > drivers/soc/rockchip/pm_domains.c:795:21: error: shif

Re: [PATCH] soc: rockchip: work around clang warning

2019-07-03 Thread Nathan Chancellor
On Wed, Jul 03, 2019 at 05:30:59PM +0200, Arnd Bergmann wrote: > clang emits a warning about a negative shift count for an > unused part of a conditional constant expression: > > drivers/soc/rockchip/pm_domains.c:795:21: error: shift count is negative > [-Werror,-Wshift-count-negative] >

[PATCH] soc: rockchip: work around clang warning

2019-07-03 Thread Arnd Bergmann
clang emits a warning about a negative shift count for an unused part of a conditional constant expression: drivers/soc/rockchip/pm_domains.c:795:21: error: shift count is negative [-Werror,-Wshift-count-negative] [RK3328_PD_VIO] = DOMAIN_RK3328(-1, 8, 8, false),