Skip to contentSkip to conversation

linux-next: build warning after merge of the drm tree

DISCUSSION Stephen Rothwell 3 participants 7 messages Feb 2, 2022 – Mar 2, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the drm tree, today's linux-next build (htmldocs) produced this warning:

drivers/gpu/drm/drm_privacy_screen.c:X: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Introduced by commit

30598d925d46 ("drm/privacy_screen: Add drvdata in drm_privacy_screen")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 5 lines · On Wed, 2 Feb 2022 15:02:01 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the drm tree, today's linux-next build (htmldocs) produced this warning:

drivers/gpu/drm/drm_privacy_screen.c:X: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Actually:

drivers/gpu/drm/drm_privacy_screen.c:392: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw

Hi,

Quoted 4 lines · Stephen Rothwell

Hi all,

Quoted 1 line · On Wed, 2 Feb 2022 15:02:01 +1100 Stephen Rothwell <[email protected]> wrote:
Quoted 8 lines
Quoted 4 lines

After merging the drm tree, today's linux-next build (htmldocs) produced this warning:

drivers/gpu/drm/drm_privacy_screen.c:X: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Actually:

drivers/gpu/drm/drm_privacy_screen.c:392: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Thank you for reporting this, I will prepare a patch fixing this.

Regards,

Hans

#3 lore raw
Quoted 11 lines · Hans de Goede

Hi,

Quoted 7 lines · Stephen Rothwell

Hi all,

Quoted 4 lines · On Wed, 2 Feb 2022 15:02:01 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the drm tree, today's linux-next build (htmldocs) produced this warning:

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

drivers/gpu/drm/drm_privacy_screen.c:X: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Actually:

drivers/gpu/drm/drm_privacy_screen.c:392: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Thank you for reporting this, I will prepare a patch fixing this.

Thank you so much Hans!

Best Regards,

Rajat

Quoted 5 lines

Regards,

Hans

#4 lore raw
In reply to Hans de Goede

Hi all,

Quoted 8 lines · On Wed, 2 Feb 2022 09:38:37 +0100 Hans de Goede <[email protected]> wrote:
Quoted 6 lines · Stephen Rothwell
Quoted 4 lines · On Wed, 2 Feb 2022 15:02:01 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the drm tree, today's linux-next build (htmldocs) produced this warning:

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

drivers/gpu/drm/drm_privacy_screen.c:X: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Actually:

drivers/gpu/drm/drm_privacy_screen.c:392: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Thank you for reporting this, I will prepare a patch fixing this.

I am still seeing this warning.

Signature · 2 lines
Cheers,
Stephen Rothwell
#5 lore raw

Hi,

Quoted 13 lines · Stephen Rothwell

Hi all,

Quoted 10 lines · On Wed, 2 Feb 2022 09:38:37 +0100 Hans de Goede <[email protected]> wrote:
Quoted 8 lines · Stephen Rothwell
Quoted 5 lines · On Wed, 2 Feb 2022 15:02:01 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the drm tree, today's linux-next build (htmldocs) produced this warning:

drivers/gpu/drm/drm_privacy_screen.c:X: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Actually:

drivers/gpu/drm/drm_privacy_screen.c:392: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Thank you for reporting this, I will prepare a patch fixing this.

I am still seeing this warning.

Weird, this should be fixed by:

https://cgit.freedesktop.org/drm-misc/commit/?id=ccbeca4ca04302d129602093c8d611065e3f7958

Which was added to the "drm-misc-next-2022-02-23" drm-misc tag/pull-req 7 days ago, which was merged into drm-next 6 days ago ?

I just reverted that did a make htmldocs and got the warning, then re-applied and the warning was gone...

Regards,

Hans

#6 lore raw

Hi Hans,

Quoted 25 lines · On Wed, 2 Mar 2022 11:32:37 +0100 Hans de Goede <[email protected]> wrote:
Quoted 13 lines · Stephen Rothwell

Hi all,

Quoted 10 lines · On Wed, 2 Feb 2022 09:38:37 +0100 Hans de Goede <[email protected]> wrote:
Quoted 8 lines · Stephen Rothwell
Quoted 5 lines · On Wed, 2 Feb 2022 15:02:01 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the drm tree, today's linux-next build (htmldocs) produced this warning:

drivers/gpu/drm/drm_privacy_screen.c:X: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Actually:

drivers/gpu/drm/drm_privacy_screen.c:392: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register'

Thank you for reporting this, I will prepare a patch fixing this.

I am still seeing this warning.

Weird, this should be fixed by:

Quoted 7 lines

https://cgit.freedesktop.org/drm-misc/commit/?id=ccbeca4ca04302d129602093c8d611065e3f7958

Which was added to the "drm-misc-next-2022-02-23" drm-misc tag/pull-req 7 days ago, which was merged into drm-next 6 days ago ?

I just reverted that did a make htmldocs and got the warning, then re-applied and the warning was gone...

As I said in my other reply, the drm tree has had build problems until today and so it has been only partly included in linux-next. I can confirm that the warning is gone in today's tree.

Signature · 2 lines
Cheers,
Stephen Rothwell