public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the gpio-brgl-fixes tree
@ 2023-01-23 20:56 Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2023-01-23 20:56 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Bartosz Golaszewski, Pierluigi Passaro, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the gpio-brgl-fixes tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from include/linux/of_gpio.h:14,
                 from drivers/net/phy/mdio_bus.c:27:
include/linux/gpio/driver.h:782:68: error: parameter 4 ('lflags') has incomplete type
  782 |                                             enum gpio_lookup_flags lflags,
      |                                             ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
include/linux/gpio/driver.h:779:33: error: function declaration isn't a prototype [-Werror=strict-prototypes]
  779 | static inline struct gpio_desc *gpiochip_request_own_desc(struct gpio_chip *gc,
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

Caused by commit

  de5f701724ac ("gpiolib: fix linker errors when GPIOLIB is disabled")

I have used the gpio-brgl-fixes tree from next-20210123 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: linux-next: build failure after merge of the gpio-brgl-fixes tree
@ 2023-01-24  0:51 Pierluigi Passaro
  2023-01-24  1:25 ` Stephen Rothwell
  0 siblings, 1 reply; 5+ messages in thread
From: Pierluigi Passaro @ 2023-01-24  0:51 UTC (permalink / raw)
  To: Stephen Rothwell, Bartosz Golaszewski
  Cc: Bartosz Golaszewski, Linux Kernel Mailing List,
	Linux Next Mailing List

On 1/23/23 21:56, Stephen Rothwell wrote:
> Hi all,
>
> After merging the gpio-brgl-fixes tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> In file included from include/linux/of_gpio.h:14,
>                  from drivers/net/phy/mdio_bus.c:27:
> include/linux/gpio/driver.h:782:68: error: parameter 4 ('lflags') has incomplete type
>   782 |                                             enum gpio_lookup_flags lflags,
>       |                                             ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> include/linux/gpio/driver.h:779:33: error: function declaration isn't a prototype [-Werror=strict-prototypes]
>   779 | static inline struct gpio_desc *gpiochip_request_own_desc(struct gpio_chip *gc,
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
>
> Caused by commit
>
>   de5f701724ac ("gpiolib: fix linker errors when GPIOLIB is disabled")
>
> I have used the gpio-brgl-fixes tree from next-20210123 for today.
>
> --
> Cheers,
> Stephen Rothwell
>
Hi Stephen,
please provide detailed build instructions.
Building with
- commit id de5f701724ac
- defconfig arch/powerpc/configs/ppc64_defconfig
- powerpc64-linux-gnu-gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
The build fails almost immediately as follow
arch/powerpc/kernel/trace/ftrace.c:839:7: error: no previous prototype for ‘arch_ftrace_match_adjust’ [-Werror=missing-prototypes]
  839 | char *arch_ftrace_match_adjust(char *str, const char *search)
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
However, the same happens rolling back de5f701724ac.
Thanks
Pier

^ permalink raw reply	[flat|nested] 5+ messages in thread
* linux-next: build failure after merge of the gpio-brgl-fixes tree
@ 2024-04-22 23:33 Stephen Rothwell
  2024-04-23  7:53 ` Bartosz Golaszewski
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2024-04-22 23:33 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Bartosz Golaszewski, Prathamesh Shete, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

drivers/gpio/gpio-tegra186.c: In function 'tegra186_gpio_is_accessible':
drivers/gpio/gpio-tegra186.c:189:14: error: 'or' of unmatched not-equal tests is always 1 [-Werror]
  189 |              (value & TEGRA186_GPIO_WRITE_ACCESS)))
      |              ^
drivers/gpio/gpio-tegra186.c:189:14: error: 'or' of unmatched not-equal tests is always 1 [-Werror]
cc1: all warnings being treated as errors

Caused by commit

  62326f7cefc2 ("gpio: tegra186: Fix tegra186_gpio_is_accessible() check")

I have used the gpio-brgl-fixes tree from next-20240422 for today.

-- 
Cheers,
Stephen Rothwell

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

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

end of thread, other threads:[~2024-04-23  7:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-23 20:56 linux-next: build failure after merge of the gpio-brgl-fixes tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2023-01-24  0:51 Pierluigi Passaro
2023-01-24  1:25 ` Stephen Rothwell
2024-04-22 23:33 Stephen Rothwell
2024-04-23  7:53 ` Bartosz Golaszewski

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