* [PATCH] lib: math: test_mul_u64_u64_div_u64: define div64_s64_rem
@ 2026-06-15 15:51 Rodrigo Alencar via B4 Relay
2026-06-16 7:39 ` Andy Shevchenko
0 siblings, 1 reply; 3+ messages in thread
From: Rodrigo Alencar via B4 Relay @ 2026-06-15 15:51 UTC (permalink / raw)
To: linux-kernel, linux-iio
Cc: Jonathan Cameron, Andy Shevchenko, kernel test robot, Rodrigo Alencar
From: Rodrigo Alencar <rodrigo.alencar@analog.com>
Define div64_s64_rem to avoid multiple definition or exports.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202606152154.P6pwbjhp-lkp@intel.com/
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com>
---
Recently added div64_s64_rem() is causing issues in a the
test build. This could be a fixup patch amended to:
https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/commit/?h=testing&id=adebf76278116a06166d0b5f8b4112ad5dd6389a
---
lib/math/test_mul_u64_u64_div_u64.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/math/test_mul_u64_u64_div_u64.c b/lib/math/test_mul_u64_u64_div_u64.c
index 338d014f0c73..d12dc05938fb 100644
--- a/lib/math/test_mul_u64_u64_div_u64.c
+++ b/lib/math/test_mul_u64_u64_div_u64.c
@@ -157,6 +157,7 @@ static void __exit test_exit(void)
#define __div64_32 __div64_32
#define div_s64_rem div_s64_rem
#define div64_u64_rem div64_u64_rem
+#define div64_s64_rem div64_s64_rem
#define div64_u64 div64_u64
#define div64_s64 div64_s64
#define iter_div_u64_rem iter_div_u64_rem
---
base-commit: a50909aa46dec46de3c73235fc15a7d6f763d996
change-id: 20260615-test-mul-div-u64-fixup-501594e578b4
Best regards,
--
Rodrigo Alencar <rodrigo.alencar@analog.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] lib: math: test_mul_u64_u64_div_u64: define div64_s64_rem
2026-06-15 15:51 [PATCH] lib: math: test_mul_u64_u64_div_u64: define div64_s64_rem Rodrigo Alencar via B4 Relay
@ 2026-06-16 7:39 ` Andy Shevchenko
2026-06-16 11:20 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2026-06-16 7:39 UTC (permalink / raw)
To: rodrigo.alencar
Cc: linux-kernel, linux-iio, Jonathan Cameron, Andy Shevchenko,
kernel test robot
On Mon, Jun 15, 2026 at 04:51:15PM +0100, Rodrigo Alencar via B4 Relay wrote:
>
> Define div64_s64_rem to avoid multiple definition or exports.
Thanks for fixing this.
> ---
> Recently added div64_s64_rem() is causing issues in a the
> test build. This could be a fixup patch amended to:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/commit/?h=testing&id=adebf76278116a06166d0b5f8b4112ad5dd6389a
I agree with this. Since the testing branch is subject to rebase on top of
-rc1, this can be also injected before or during that time.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] lib: math: test_mul_u64_u64_div_u64: define div64_s64_rem
2026-06-16 7:39 ` Andy Shevchenko
@ 2026-06-16 11:20 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2026-06-16 11:20 UTC (permalink / raw)
To: Andy Shevchenko
Cc: rodrigo.alencar, linux-kernel, linux-iio, Andy Shevchenko,
kernel test robot
On Tue, 16 Jun 2026 10:39:44 +0300
Andy Shevchenko <andriy.shevchenko@intel.com> wrote:
> On Mon, Jun 15, 2026 at 04:51:15PM +0100, Rodrigo Alencar via B4 Relay wrote:
> >
> > Define div64_s64_rem to avoid multiple definition or exports.
>
> Thanks for fixing this.
>
> > ---
> > Recently added div64_s64_rem() is causing issues in a the
> > test build. This could be a fixup patch amended to:
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/commit/?h=testing&id=adebf76278116a06166d0b5f8b4112ad5dd6389a
>
> I agree with this. Since the testing branch is subject to rebase on top of
> -rc1, this can be also injected before or during that time.
>
Smashed into original patch as a fixup.
Thanks,
Jonathan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-16 11:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 15:51 [PATCH] lib: math: test_mul_u64_u64_div_u64: define div64_s64_rem Rodrigo Alencar via B4 Relay
2026-06-16 7:39 ` Andy Shevchenko
2026-06-16 11:20 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®