[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdb4d9pfstqDTZoBSqOSS4d4vLOUCnS6AKcMjLZ8TTQ2Wg@mail.gmail.com>
Date:   Tue, 14 Nov 2023 14:40:38 +0100
From:   Linus Walleij <linus.walleij@...aro.org>
To:     kernel test robot <lkp@...el.com>, Rob Herring <robh+dt@...nel.org>
Cc:     Charles Keepax <ckeepax@...nsource.cirrus.com>,
        oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:53: error: pasting
 "LOCHNAGAR1_" and "(" does not give a valid preprocessing token
On Tue, Nov 7, 2023 at 6:19 AM kernel test robot <lkp@...el.com> wrote:
> >> drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:53: error: pasting "LOCHNAGAR1_" and "(" does not give a valid preprocessing token
>       52 |         .name = NAME, .type = LN_PTYPE_GPIO, .reg = LOCHNAGAR##REV##_##REG, \
>          |                                                     ^~~~~~~~~
>    drivers/pinctrl/cirrus/pinctrl-lochnagar.c:67:9: note: in expansion of macro 'LN_PIN_GPIO'
>       67 |         LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT)
>          |         ^~~~~~~~~~~
I looked a bit at this, can this be due to the fact that the macros use defines
from include/dt-bindings/...* and that MIPS does not use these includes
somehow, such as not using the same dtc compiler?
Rob, do you know the story of how MIPS interoperates with <dt-bindings/*>?
Yours,
Linus Walleij
Powered by blists - more mailing lists
 
