Skip to contentSkip to conversation

linux-next: build failure after merge of the leds-lj tree

DISCUSSION Marek Vasut 1 participant 1 message Aug 9, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi all,

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

Quoted 8 lines

FATAL: modpost: drivers/leds/leds-pca995x: sizeof(struct i2c_device_id)=32 is not a modulo of the size of section __mod_i2c__<identifier>_device_table=600. Fix definition of struct i2c_device_id in mod_devicetable.h

Presumably caused by commit

ee4e80b2962e ("leds: pca995x: Add support for PCA995X chips")

I have reverted that commit for today.

Ah doh, the fix is trivial, proper patch is coming in a bit.

drivers/leds/leds-pca995x.c +1 -1
index 3ac99a433fcd2..78215dff14997 100644
@@ -187,7 +187,7 @@ static const struct of_device_id pca995x_of_match[] = {
        { .compatible = "nxp,pca9955b", .data = (void *)PCA995X_TYPE_B },
        {},
 };
-MODULE_DEVICE_TABLE(i2c, pca995x_of_match);
+MODULE_DEVICE_TABLE(of, pca995x_of_match);
 
 static struct i2c_driver pca995x_driver = {
        .driver = {