lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190908085133.GA7233@amd>
Date:   Sun, 8 Sep 2019 10:51:33 +0200
From:   Pavel Machek <pavel@...x.de>
To:     johan@...nel.org, gregkh@...uxfoundation.org,
        linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
        linus.walleij@...aro.org, bgolaszewski@...libre.com,
        linux-gpio@...r.kernel.org, sfr@...b.auug.org.au
Subject: next-20190904: build failure in cp210x usb serial, gpio related?

Hi!

I'm getting this compiling the -next:

  CC      drivers/net/wireless/intel/iwlwifi/mvm/mac80211.o
  In file included from drivers/usb/serial/cp210x.c:23:
  ./include/linux/gpio/driver.h:722:19: error: static declaration of
  ‘gpiochip_lock_as_irq’ follows non-static declaration
    722 | static inline int gpiochip_lock_as_irq(struct gpio_chip
  *chip,
        |                   ^~~~~~~~~~~~~~~~~~~~
	./include/linux/gpio/driver.h:706:5: note: previous
  declaration of ‘gpiochip_lock_as_irq’ was here
    706 | int gpiochip_lock_as_irq(struct gpio_chip *chip, unsigned
  int offset);
        |     ^~~~~~~~~~~~~~~~~~~~
	./include/linux/gpio/driver.h:729:20: error: static
  declaration of ‘gpiochip_unlock_as_irq’ follows non-static
  declaration
    729 | static inline void gpiochip_unlock_as_irq(struct gpio_chip
  *chip,
        |                    ^~~~~~~~~~~~~~~~~~~~~~
	./include/linux/gpio/driver.h:707:6: note: previous
  declaration of ‘gpiochip_unlock_as_irq’ was here
    707 | void gpiochip_unlock_as_irq(struct gpio_chip *chip, unsigned
  int offset);
        |      ^~~~~~~~~~~~~~~~~~~~~~
	make[3]: *** [scripts/Makefile.build:265:
  drivers/usb/serial/cp210x.o] Error 1
  make[2]: *** [scripts/Makefile.build:509: drivers/usb/serial] Error
  2
  make[2]: *** Waiting for unfinished jobs....
    CC      drivers/gpu/drm/ttm/ttm_page_alloc.o
      AR      drivers/usb/storage/built-in.a


Sounds like some fixes are needed in gpio headers?

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ