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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <68b2b71a-970b-8e0e-1ee3-e05a51c3bdf2@infradead.org>
Date:   Tue, 28 May 2019 11:05:09 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Platform Driver <platform-driver-x86@...r.kernel.org>,
        Lennert Buytenhek <buytenh@...tstofly.org>,
        Lubomir Rintel <lkundrak@...sk>,
        Darren Hart <dvhart@...radead.org>,
        Andy Shevchenko <andy@...radead.org>
Subject: Re: linux-next: Tree for May 28 (platform/olpc/olpc-xo175-ec)

On 5/27/19 9:58 PM, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20190524:
> 

on x86, there are some issues with drivers/platform/olpc/olpc-xo175-ec.c:

a. when CONFIG_SPI is not set/enabled:

WARNING: unmet direct dependencies detected for SPI_SLAVE
  Depends on [n]: SPI [=n]
  Selected by [y]:
  - OLPC_XO175_EC [=y] && (ARCH_MMP || COMPILE_TEST [=y])

ld: drivers/platform/olpc/olpc-xo175-ec.o: in function `olpc_xo175_ec_remove':
olpc-xo175-ec.c:(.text+0x79): undefined reference to `spi_slave_abort'
ld: drivers/platform/olpc/olpc-xo175-ec.o: in function `olpc_xo175_ec_send_command':
olpc-xo175-ec.c:(.text+0x24d): undefined reference to `spi_async'
ld: drivers/platform/olpc/olpc-xo175-ec.o: in function `olpc_xo175_ec_cmd':
olpc-xo175-ec.c:(.text+0xb3c): undefined reference to `spi_slave_abort'
ld: drivers/platform/olpc/olpc-xo175-ec.o: in function `olpc_xo175_ec_spi_driver_init':
olpc-xo175-ec.c:(.init.text+0xa): undefined reference to `__spi_register_driver'

b. when CONFIG_INPUT is not set/enabled:

ERROR: "input_register_device" [drivers/platform/olpc/olpc-xo175-ec.ko] undefined!
ERROR: "input_set_capability" [drivers/platform/olpc/olpc-xo175-ec.ko] undefined!
ERROR: "devm_input_allocate_device" [drivers/platform/olpc/olpc-xo175-ec.ko] undefined!
ERROR: "input_event" [drivers/platform/olpc/olpc-xo175-ec.ko] undefined!

c. when some power mgt. Kconfig symbol is not set/enabled:

ERROR: "power_supply_put" [drivers/platform/olpc/olpc-xo175-ec.ko] undefined!
ERROR: "power_supply_changed" [drivers/platform/olpc/olpc-xo175-ec.ko] undefined!
ERROR: "power_supply_get_by_name" [drivers/platform/olpc/olpc-xo175-ec.ko] undefined!

d. drivers/platform/olpc/Kconfig needs to use "menuconfig" like all of the other
   Kconfig files in drivers/platform/ so that its menu is listed in the correct
   place in *config interfaces.


:(

-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ