Skip to contentSkip to conversation

linux-next: build failure after merge of the regulator tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Feb 1, 2017 – Feb 3, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/regulator/anatop-regulator.c: In function 'anatop_regulator_probe':
drivers/regulator/anatop-regulator.c:310:24: error: assignment of member 'enable' in read-only object

    anatop_rops.enable  = regulator_enable_regmap;
                        ^
drivers/regulator/anatop-regulator.c:311:24: error: assignment of member 'disable' in read-only object
    anatop_rops.disable = regulator_disable_regmap;
                        ^
drivers/regulator/anatop-regulator.c:312:27: error: assignment of member 'is_enabled' in read-only object
    anatop_rops.is_enabled = regulator_is_enabled_regmap;
                           ^

Caused by commit

524d339a9d6b ("regulator: anatop-regulator: constify regulator_ops structure")

I can only assume that this patch has been rebased since it was tested.

I have used the regulator tree from next-20170131 for today.

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

Caused by commit

524d339a9d6b ("regulator: anatop-regulator: constify regulator_ops structure")

I can only assume that this patch has been rebased since it was tested.

Discarded that commit.

#2 lore raw

Hi Mark,

Quoted 10 lines · On Wed, 1 Feb 2017 10:03:43 +0000 Mark Brown <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell

Caused by commit

524d339a9d6b ("regulator: anatop-regulator: constify regulator_ops structure")

I can only assume that this patch has been rebased since it was tested.

Discarded that commit.

The patch is still there ...

Signature · 2 lines
Cheers,
Stephen Rothwell
maintainer
#3 lore raw
Quoted 3 lines · Stephen Rothwell
Quoted 1 line

Discarded that commit.

The patch is still there ...

Only in the merge branch, it got dropped from the source branch but the merge ended up not being rebuilt.