Applied "spi: work around clang bug in SPI_BPW_RANGE_MASK()" to the spi tree

2019-03-14 Thread Mark Brown
The patch spi: work around clang bug in SPI_BPW_RANGE_MASK() has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Re: Applied "spi: work around clang bug in SPI_BPW_RANGE_MASK()" to the spi tree

2019-03-13 Thread Arnd Bergmann
On Wed, Mar 13, 2019 at 8:15 PM Geert Uytterhoeven wrote: > > -#define SPI_BIT_MASK(bits) (((bits) == 32) ? ~0U : (BIT(bits) - 1)) > > -#define SPI_BPW_RANGE_MASK(min, max) (SPI_BIT_MASK(max) - SPI_BIT_MASK(min > > - 1)) > > +#define SPI_BPW_RANGE_MASK(min, max) GENMASK((min) - 1, (max) - 1) > >

Re: Applied "spi: work around clang bug in SPI_BPW_RANGE_MASK()" to the spi tree

2019-03-13 Thread Geert Uytterhoeven
Hi Mark, On Mon, Mar 11, 2019 at 6:26 PM Mark Brown wrote: > The patch > >spi: work around clang bug in SPI_BPW_RANGE_MASK() > > has been applied to the spi tree at > >https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git > > All being well this means that it will be integrated

Applied "spi: work around clang bug in SPI_BPW_RANGE_MASK()" to the spi tree

2019-03-13 Thread Mark Brown
The patch spi: work around clang bug in SPI_BPW_RANGE_MASK() has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Applied "spi: work around clang bug in SPI_BPW_RANGE_MASK()" to the spi tree

2019-03-11 Thread Mark Brown
The patch spi: work around clang bug in SPI_BPW_RANGE_MASK() has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent