Messages in this thread | | | Date | Mon, 29 Nov 2021 13:32:42 +0100 | From | Thomas Bogendoerfer <> | Subject | Re: [PATCH] MIPS: CPS: Use bitfield helpers |
| |
On Mon, Nov 22, 2021 at 04:53:58PM +0100, Geert Uytterhoeven wrote: > Use the FIELD_GET() helper, instead of open-coding the same operation. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > Compile-tested only. > > See "[PATCH 00/17] Non-const bitfield helper conversions" > (https://lore.kernel.org/r/cover.1637592133.git.geert+renesas@glider.be) > for background and more conversions. > --- > arch/mips/include/asm/mips-cps.h | 19 +++++++------------ > 1 file changed, 7 insertions(+), 12 deletions(-)
applied to mips-next.
Thomas.
-- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]
| |