public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the i2c-host tree
@ 2024-05-22  0:41 Stephen Rothwell
  2024-05-22  5:33 ` Heiner Kallweit
  2024-05-28  1:01 ` Stephen Rothwell
  0 siblings, 2 replies; 12+ messages in thread
From: Stephen Rothwell @ 2024-05-22  0:41 UTC (permalink / raw)
  To: Andi Shyti
  Cc: Alex Deucher, Kenneth Feng, Likun Gao, Heiner Kallweit,
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]

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.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build failure after merge of the i2c-host tree
@ 2025-07-04  2:02 Stephen Rothwell
  2025-07-04  2:16 ` Qianfeng Rong
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2025-07-04  2:02 UTC (permalink / raw)
  To: Andi Shyti
  Cc: Qianfeng Rong, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 2064 bytes --]

Hi all,

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

In file included from <command-line>:
drivers/i2c/busses/i2c-st.c: In function 'st_i2c_rd_fill_tx_fifo':
include/linux/compiler_types.h:568:45: error: call to '__compiletime_assert_369' declared with attribute error: min(max, 0x8 - tx_fstat) signedness error
  568 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                             ^
include/linux/compiler_types.h:549:25: note: in definition of macro '__compiletime_assert'
  549 |                         prefix ## suffix();                             \
      |                         ^~~~~~
include/linux/compiler_types.h:568:9: note: in expansion of macro '_compiletime_assert'
  568 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/minmax.h:93:9: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   93 |         BUILD_BUG_ON_MSG(!__types_ok(ux, uy),           \
      |         ^~~~~~~~~~~~~~~~
include/linux/minmax.h:98:9: note: in expansion of macro '__careful_cmp_once'
   98 |         __careful_cmp_once(op, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_))
      |         ^~~~~~~~~~~~~~~~~~
include/linux/minmax.h:105:25: note: in expansion of macro '__careful_cmp'
  105 | #define min(x, y)       __careful_cmp(min, x, y)
      |                         ^~~~~~~~~~~~~
drivers/i2c/busses/i2c-st.c:453:13: note: in expansion of macro 'min'
  453 |         i = min(max, SSC_TXFIFO_SIZE - tx_fstat);
      |             ^~~

Caused by commit

  cbae4d3dd2f7 ("i2c: busses: Use min() to improve code")

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

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build failure after merge of the i2c-host tree
@ 2025-05-06  9:11 Stephen Rothwell
  2025-05-06 11:47 ` Andi Shyti
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2025-05-06  9:11 UTC (permalink / raw)
  To: Andi Shyti
  Cc: Yo-Jung (Leo) Lin, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

Hi all,

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

drivers/i2c/busses/i2c-i801.c: In function 'i801_probe_optional_targets':
drivers/i2c/busses/i2c-i801.c:1180:54: error: 'struct i801_priv' has no member named 'mux_pdev'
 1180 |         if (!IS_ENABLED(CONFIG_I2C_I801_MUX) || !priv->mux_pdev) {
      |                                                      ^~

Caused by commit

  27f4a0d6938a ("i2c: i801: don't instantiate spd5118 under SPD Write Disable")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build failure after merge of the i2c-host tree
@ 2024-03-11 23:41 Stephen Rothwell
  2024-03-12 10:44 ` Andi Shyti
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2024-03-11 23:41 UTC (permalink / raw)
  To: Andi Shyti
  Cc: Mukesh Kumar Savaliya, Viken Dadhaniya, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

Hi all,

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

drivers/i2c/busses/i2c-qcom-geni.c: In function 'i2c_gpi_cb_result':
drivers/i2c/busses/i2c-qcom-geni.c:493:18: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration]
  493 |         status = FIELD_GET(I2C_DMA_TX_IRQ_MASK, i2c_res->status);
      |                  ^~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  313d6aa4c648 ("i2c: i2c-qcom-geni: Parse Error correctly in i2c GSI mode")

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

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-07-04  2:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-22  0:41 linux-next: build failure after merge of the i2c-host tree Stephen Rothwell
2024-05-22  5:33 ` Heiner Kallweit
2024-05-28  0:52   ` Stephen Rothwell
2024-05-28  1:01 ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2025-07-04  2:02 Stephen Rothwell
2025-07-04  2:16 ` Qianfeng Rong
2025-07-04  2:36   ` Stephen Rothwell
2025-07-04  2:50     ` Qianfeng Rong
2025-05-06  9:11 Stephen Rothwell
2025-05-06 11:47 ` Andi Shyti
2024-03-11 23:41 Stephen Rothwell
2024-03-12 10:44 ` Andi Shyti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox