Skip to contentSkip to conversation

linux-next: build failure after merge of the i2c-host tree

DISCUSSION Stephen Rothwell 2 participants 4 messages May 22, 2024 – May 28, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the i2c-host tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_2_ppt.c: In function 'smu_v14_0_2_i2c_control_init':
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_2_ppt.c:1565:34: error: 'I2C_CLASS_SPD' undeclared (first use in this function); did you mean 'I2C_CLASS_HWMON'?

 1565 |                 control->class = I2C_CLASS_SPD;
      |                                  ^~~~~~~~~~~~~
      |                                  I2C_CLASS_HWMON

Caused by commit

49b33f4b3a9e ("i2c: Remove I2C_CLASS_SPD")

interacting with commit

3e55845c3983 ("drm/amd/swsmu: add smu v14_0_2 support")

from Linus' tree (in the current merge window).

I have used the i2c-host tree from next-20240521 for today.

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

Hi all,

After merging the i2c-host tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_2_ppt.c: In function 'smu_v14_0_2_i2c_control_init':
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_2_ppt.c:1565:34: error: 'I2C_CLASS_SPD' undeclared (first use in this function); did you mean 'I2C_CLASS_HWMON'?

 1565 |                 control->class = I2C_CLASS_SPD;
      |                                  ^~~~~~~~~~~~~
      |                                  I2C_CLASS_HWMON

Caused by commit

49b33f4b3a9e ("i2c: Remove I2C_CLASS_SPD")

Quoted 8 lines

interacting with commit

3e55845c3983 ("drm/amd/swsmu: add smu v14_0_2 support")

from Linus' tree (in the current merge window).

I have used the i2c-host tree from next-20240521 for today.

This conflict has been resolved by:
e22e0e483b2c ("drm/amd/pm: remove deprecated I2C_CLASS_SPD support from newly added SMU_14_0_2")

#2 lore raw

Hi Heiner,

Quoted 3 lines · On Wed, 22 May 2024 07:33:03 +0200 Heiner Kallweit <[email protected]> wrote:

This conflict has been resolved by:
e22e0e483b2c ("drm/amd/pm: remove deprecated I2C_CLASS_SPD support from newly added SMU_14_0_2")

Sure, but that patch is not in the i2c-host tree (or a branch that the i2c-host tree includes), so I am still getting this failure.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 14 lines · On Wed, 22 May 2024 10:41:28 +1000 Stephen Rothwell <[email protected]>…

After merging the i2c-host tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_2_ppt.c: In function 'smu_v14_0_2_i2c_control_init':
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_2_ppt.c:1565:34: error: 'I2C_CLASS_SPD' undeclared (first use in this function); did you mean 'I2C_CLASS_HWMON'?

 1565 |                 control->class = I2C_CLASS_SPD;
      |                                  ^~~~~~~~~~~~~
      |                                  I2C_CLASS_HWMON

Caused by commit

49b33f4b3a9e ("i2c: Remove I2C_CLASS_SPD")

Quoted 7 lines

interacting with commit

3e55845c3983 ("drm/amd/swsmu: add smu v14_0_2 support")

from Linus' tree (in the current merge window).

I have used the i2c-host tree from next-20240521 for today.

This is now a failure after the merge of the i2c tree :-(

I have used the i2c tree from next-20240523 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell