* [PATCH trivial] MIPS: bitops: Fix reference to ffz location
@ 2021-01-08 10:55 Geert Uytterhoeven
2021-01-09 17:59 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-01-08 10:55 UTC (permalink / raw)
To: Thomas Bogendoerfer, Jiri Kosina
Cc: Arnd Bergmann, linux-mips, linux-kernel, Geert Uytterhoeven
Unlike most other architectures, MIPS defines ffz() below ffs().
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/mips/include/asm/bitops.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/include/asm/bitops.h b/arch/mips/include/asm/bitops.h
index a74769940fbd983c..1b08f9f38593ce15 100644
--- a/arch/mips/include/asm/bitops.h
+++ b/arch/mips/include/asm/bitops.h
@@ -435,7 +435,7 @@ static inline int fls(unsigned int x)
*
* This is defined the same way as
* the libc and compiler builtin ffs routines, therefore
- * differs in spirit from the above ffz (man ffs).
+ * differs in spirit from the below ffz (man ffs).
*/
static inline int ffs(int word)
{
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH trivial] MIPS: bitops: Fix reference to ffz location
2021-01-08 10:55 [PATCH trivial] MIPS: bitops: Fix reference to ffz location Geert Uytterhoeven
@ 2021-01-09 17:59 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2021-01-09 17:59 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Jiri Kosina, Arnd Bergmann, linux-mips, linux-kernel
On Fri, Jan 08, 2021 at 11:55:26AM +0100, Geert Uytterhoeven wrote:
> Unlike most other architectures, MIPS defines ffz() below ffs().
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> arch/mips/include/asm/bitops.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
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 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-09 20:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-08 10:55 [PATCH trivial] MIPS: bitops: Fix reference to ffz location Geert Uytterhoeven
2021-01-09 17:59 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox