* [PATCH trivial/resend] asm-generic: ffs: Drop bogus reference to ffz location
@ 2021-07-14 9:44 Geert Uytterhoeven
2021-08-12 20:44 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-07-14 9:44 UTC (permalink / raw)
To: Arnd Bergmann, Jiri Kosina; +Cc: linux-kernel, Geert Uytterhoeven
The generic definition of ffz() is not defined in the same header files
as the generic definitions of ffs().
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
include/asm-generic/bitops/builtin-ffs.h | 2 +-
include/asm-generic/bitops/ffs.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/asm-generic/bitops/builtin-ffs.h b/include/asm-generic/bitops/builtin-ffs.h
index 1dacfdb4247ee1b7..7b129329046b7337 100644
--- a/include/asm-generic/bitops/builtin-ffs.h
+++ b/include/asm-generic/bitops/builtin-ffs.h
@@ -8,7 +8,7 @@
*
* 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 ffz (man ffs).
*/
#define ffs(x) __builtin_ffs(x)
diff --git a/include/asm-generic/bitops/ffs.h b/include/asm-generic/bitops/ffs.h
index e81868b2c0f07b87..323fd5d6ae263ab3 100644
--- a/include/asm-generic/bitops/ffs.h
+++ b/include/asm-generic/bitops/ffs.h
@@ -8,7 +8,7 @@
*
* 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 ffz (man ffs).
*/
static inline int ffs(int x)
{
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH trivial/resend] asm-generic: ffs: Drop bogus reference to ffz location
2021-07-14 9:44 [PATCH trivial/resend] asm-generic: ffs: Drop bogus reference to ffz location Geert Uytterhoeven
@ 2021-08-12 20:44 ` Arnd Bergmann
0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2021-08-12 20:44 UTC (permalink / raw)
To: Jiri Kosina, Geert Uytterhoeven; +Cc: Arnd Bergmann, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
On Wed, 14 Jul 2021 11:44:22 +0200, Geert Uytterhoeven wrote:
> The generic definition of ffz() is not defined in the same header files
> as the generic definitions of ffs().
Applied to asm-generic-uaccess-3, thanks!
[1/1] asm-generic: ffs: Drop bogus reference to ffz location
commit: fc062ad8e406a08b624b3ab3427434800ff886f8
Arnd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-12 20:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 9:44 [PATCH trivial/resend] asm-generic: ffs: Drop bogus reference to ffz location Geert Uytterhoeven
2021-08-12 20:44 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).