* linux-next: build warnings after merge of the pwm tree
@ 2024-10-01 3:52 Stephen Rothwell
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2024-10-01 3:52 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Uwe Kleine-König, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
Hi all,
After merging the pwm tree, today's linux-next build (htmldocs) produced
these warnings:
include/linux/pwm.h:302: warning: Function parameter or struct member 'sizeof_wfhw' not described in 'pwm_ops'
include/linux/pwm.h:302: warning: Function parameter or struct member 'round_waveform_tohw' not described in 'pwm_ops'
include/linux/pwm.h:302: warning: Function parameter or struct member 'round_waveform_fromhw' not described in 'pwm_ops'
include/linux/pwm.h:302: warning: Function parameter or struct member 'read_waveform' not described in 'pwm_ops'
include/linux/pwm.h:302: warning: Function parameter or struct member 'write_waveform' not described in 'pwm_ops'
Introduced by commit
17e40c25158f ("pwm: New abstraction for PWM waveforms")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* linux-next: build warnings after merge of the pwm tree
@ 2025-10-28 2:39 ` Stephen Rothwell
2025-10-28 9:52 ` Michal Wilczynski
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2025-10-28 2:39 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Michal Wilczynski, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 680 bytes --]
Hi all,
After merging the pwm tree, today's linux-next build (x86_64 allmodconfig)
produced these warnings:
WARNING: modpost: module pwm_th1520 uses symbol pwmchip_release from namespace PWM, but does not import it.
WARNING: modpost: module pwm_th1520 uses symbol __pwmchip_add from namespace PWM, but does not import it.
WARNING: modpost: module pwm_th1520 uses symbol pwmchip_alloc from namespace PWM, but does not import it.
WARNING: modpost: module pwm_th1520 uses symbol pwmchip_remove from namespace PWM, but does not import it.
Presumably introduced by commit
fb3957af9ec6 ("pwm: Add Rust driver for T-HEAD TH1520 SoC")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: build warnings after merge of the pwm tree
2025-10-28 2:39 ` Stephen Rothwell
@ 2025-10-28 9:52 ` Michal Wilczynski
0 siblings, 0 replies; 3+ messages in thread
From: Michal Wilczynski @ 2025-10-28 9:52 UTC (permalink / raw)
To: Stephen Rothwell, Uwe Kleine-König
Cc: Linux Kernel Mailing List, Linux Next Mailing List
On 10/28/25 03:39, Stephen Rothwell wrote:
> Hi all,
>
> After merging the pwm tree, today's linux-next build (x86_64 allmodconfig)
> produced these warnings:
>
> WARNING: modpost: module pwm_th1520 uses symbol pwmchip_release from namespace PWM, but does not import it.
> WARNING: modpost: module pwm_th1520 uses symbol __pwmchip_add from namespace PWM, but does not import it.
> WARNING: modpost: module pwm_th1520 uses symbol pwmchip_alloc from namespace PWM, but does not import it.
> WARNING: modpost: module pwm_th1520 uses symbol pwmchip_remove from namespace PWM, but does not import it.
Hi, Thank you for the report. Interestingly this seems to be the first
Rust driver that needs to write 'import_ns' in the .modpost section. For
C drivers the macro MODULE_IMPORT_NS("PWM") was simply included with
pwm.h. I think the module! macro needs to be extended to support
import_ns in rust/macros/module.rs. I think I know how to do it code
wise, will post a patch.
>
> Presumably introduced by commit
>
> fb3957af9ec6 ("pwm: Add Rust driver for T-HEAD TH1520 SoC")
>
Best regards,
--
Michal Wilczynski <m.wilczynski@samsung•com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-28 9:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-01 3:52 linux-next: build warnings after merge of the pwm tree Stephen Rothwell
[not found] <CGME20251028023933eucas1p1ea7f8b51a5da190b593635cea7e72982@eucas1p1.samsung.com>
2025-10-28 2:39 ` Stephen Rothwell
2025-10-28 9:52 ` Michal Wilczynski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox