Skip to contentSkip to conversation

drm/bridge: Fix 0-day build error

PATCH Superseded Fabrizio Castro 2 participants 5 messages Nov 19, 2018

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/bridge: Fix 0-day build error

kbuild test robot reports:

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_add_adapter" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_alloc" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_del_adapters" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quite obviously the driver depends on I2C_MUX, but adding a "depends on" introduces a recursive dependency, therefore this patch selects I2C_MUX instead.

---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/Kconfig +1 -0
index 9eeb8ef..2fee47b 100644
@@ -95,6 +95,7 @@ config DRM_SII902X
 	depends on OF
 	select DRM_KMS_HELPER
 	select REGMAP_I2C
+	select I2C_MUX
 	---help---
 	  Silicon Image sii902x bridge chip driver.
 
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

Hi Fabrizio,

The prefix should be "drm/bridge/sii902x:" and I'd prefer a short explanation of what is problematic in the subject rather than "Fix 0-day build error". Maybe something like

"drm/bridge/sii902x: Add missing dependency on I2C_MUX"

Quoted 4 lines · On Mon, 19 Nov 2018 12:44:23 +0000 Fabrizio Castro…

kbuild test robot reports:

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_add_adapter" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 9 lines
Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_alloc" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_del_adapters" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quite obviously the driver depends on I2C_MUX, but adding a "depends on" introduces a recursive dependency, therefore this patch selects I2C_MUX instead.

You need a fixes tag here:

Fixes 21d808405fe4 ("drm/bridge/sii902x: Fix EDID readback")

Thanks,

Boris

Quoted 11 lines
---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/Kconfig +0 -0
index 9eeb8ef..2fee47b 100644

drivers/gpu/drm/bridge/Kconfig config DRM_SII902X · line 101

Quoted 7 lines
drivers/gpu/drm/bridge/Kconfig +1 -0
@@ -95,6 +95,7 @@ config DRM_SII902X
 	depends on OF
 	select DRM_KMS_HELPER
 	select REGMAP_I2C
+	select I2C_MUX
 	---help---
 	  Silicon Image sii902x bridge chip driver.
 

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

Hi Boris,

Quoted 24 lines

From: Boris Brezillon <[email protected]>
Sent: 19 November 2018 12:51
Subject: Re: [PATCH] drm/bridge: Fix 0-day build error

Hi Fabrizio,

The prefix should be "drm/bridge/sii902x:" and I'd prefer a short explanation of what is problematic in the subject rather than "Fix 0-day build error". Maybe something like

"drm/bridge/sii902x: Add missing dependency on I2C_MUX"

Quoted 9 lines · On Mon, 19 Nov 2018 12:44:23 +0000 Fabrizio Castro…

kbuild test robot reports:

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_add_adapter" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_alloc" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_del_adapters" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 8 lines
Quoted 4 lines

Quite obviously the driver depends on I2C_MUX, but adding a "depends on" introduces a recursive dependency, therefore this patch selects I2C_MUX instead.

You need a fixes tag here:

Fixes 21d808405fe4 ("drm/bridge/sii902x: Fix EDID readback")

Thank you for spotting this, I'll send a v2 right away.

Cheers,
Fab

Quoted 11 lines

Thanks,

Boris

Quoted 6 lines
---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)
Quoted 12 lines

drivers/gpu/drm/bridge/Kconfig config DRM_SII902X · line 101

Quoted 12 lines
drivers/gpu/drm/bridge/Kconfig +1 -0
index 9eeb8ef..2fee47b 100644
@@ -95,6 +95,7 @@ config DRM_SII902X
 depends on OF
 select DRM_KMS_HELPER
 select REGMAP_I2C
+select I2C_MUX
 ---help---
   Silicon Image sii902x bridge chip driver.
 

Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
Quoted 31 lines · On Mon, 19 Nov 2018 13:09:16 +0000 Fabrizio Castro…

Hi Boris,

Quoted 29 lines

From: Boris Brezillon <[email protected]>
Sent: 19 November 2018 12:51
Subject: Re: [PATCH] drm/bridge: Fix 0-day build error

Hi Fabrizio,

The prefix should be "drm/bridge/sii902x:" and I'd prefer a short explanation of what is problematic in the subject rather than "Fix 0-day build error". Maybe something like

"drm/bridge/sii902x: Add missing dependency on I2C_MUX"

Quoted 13 lines · On Mon, 19 Nov 2018 12:44:23 +0000 Fabrizio Castro…

kbuild test robot reports:

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_add_adapter" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_alloc" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_del_adapters" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quite obviously the driver depends on I2C_MUX, but adding a "depends on" introduces a recursive dependency, therefore this patch selects I2C_MUX instead.

Quoted 5 lines
Quoted 3 lines

You need a fixes tag here:

Fixes 21d808405fe4 ("drm/bridge/sii902x: Fix EDID readback")

Thank you for spotting this, I'll send a v2 right away.

Looks like you didn't change the subject in your v2.

Quoted 24 lines

Cheers,
Fab

Quoted 20 lines

Thanks,

Boris

Quoted 15 lines
---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/Kconfig +1 -0
index 9eeb8ef..2fee47b 100644
@@ -95,6 +95,7 @@ config DRM_SII902X
 depends on OF
 select DRM_KMS_HELPER
 select REGMAP_I2C
+select I2C_MUX
Quoted 8 lines
Quoted 3 lines

drivers/gpu/drm/bridge/Kconfig config DRM_SII902X · line 101

Quoted 3 lines
drivers/gpu/drm/bridge/Kconfig +0 -0
 ---help---
   Silicon Image sii902x bridge chip driver.
 

Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
Quoted 46 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Boris Brezillon
Sent: 19 November 2018 13:23
To: Fabrizio Castro <[email protected]>
Cc: Peter Rosin <[email protected]>; Archit Taneja <[email protected]>; Andrzej Hajda <[email protected]>; David Airlie <[email protected]>; Laurent Pinchart <[email protected]>; [email protected]; Simon Horman <[email protected]>; Geert Uytterhoeven <[email protected]>; Chris Paterson <[email protected]>; Biju Das <[email protected]>; [email protected]
Subject: Re: [PATCH] drm/bridge: Fix 0-day build error

Quoted 31 lines · On Mon, 19 Nov 2018 13:09:16 +0000 Fabrizio Castro…

Hi Boris,

Quoted 29 lines

From: Boris Brezillon <[email protected]>
Sent: 19 November 2018 12:51
Subject: Re: [PATCH] drm/bridge: Fix 0-day build error

Hi Fabrizio,

The prefix should be "drm/bridge/sii902x:" and I'd prefer a short explanation of what is problematic in the subject rather than "Fix 0-day build error". Maybe something like

"drm/bridge/sii902x: Add missing dependency on I2C_MUX"

Quoted 13 lines · On Mon, 19 Nov 2018 12:44:23 +0000 Fabrizio Castro…

kbuild test robot reports:

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_add_adapter" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_alloc" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quoted 1 line
Quoted 1 line

ERROR: "i2c_mux_del_adapters" [drivers/gpu/drm/bridge/sii902x.ko]

undefined!

Quite obviously the driver depends on I2C_MUX, but adding a "depends on" introduces a recursive dependency, therefore this patch selects I2C_MUX instead.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

You need a fixes tag here:

Fixes 21d808405fe4 ("drm/bridge/sii902x: Fix EDID readback")

Thank you for spotting this, I'll send a v2 right away.

Looks like you didn't change the subject in your v2.

Will send a v3...

Thanks,
Fab

Quoted 33 lines
Quoted 25 lines

Cheers,
Fab

Quoted 20 lines

Thanks,

Boris

Quoted 15 lines
---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/Kconfig +1 -0
index 9eeb8ef..2fee47b 100644
@@ -95,6 +95,7 @@ config DRM_SII902X
 depends on OF
 select DRM_KMS_HELPER
 select REGMAP_I2C
+select I2C_MUX
Quoted 8 lines
Quoted 3 lines

drivers/gpu/drm/bridge/Kconfig config DRM_SII902X · line 101

Quoted 3 lines
drivers/gpu/drm/bridge/Kconfig +0 -0
 ---help---
   Silicon Image sii902x bridge chip driver.
 

Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England

Quoted 1 line

& Wales under Registered No. 04586709.

Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel