Re: [PATCH] spi: fix SPI_BPW_RANGE_MASK() regression

2019-03-13 Thread Geert Uytterhoeven
On Wed, Mar 13, 2019 at 10:01 PM Arnd Bergmann wrote: > Geert points out that I confused the min/max arguments that are > reversed between SPI_BPW_RANGE_MASK() and GENMASK(). This time > I have verified the result of the macro after fixing the arguments. > > Cc: Geert Uytterhoeven > Fixes:

[PATCH] spi: fix SPI_BPW_RANGE_MASK() regression

2019-03-13 Thread Arnd Bergmann
Geert points out that I confused the min/max arguments that are reversed between SPI_BPW_RANGE_MASK() and GENMASK(). This time I have verified the result of the macro after fixing the arguments. Cc: Geert Uytterhoeven Fixes: eefffb42f665 ("spi: work around clang bug in SPI_BPW_RANGE_MASK()")