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: <1499320823.19784.17.camel@abdul.in.ibm.com>
Date:   Thu, 06 Jul 2017 11:30:23 +0530
From:   Abdul Haleem <abdhalee@...ux.vnet.ibm.com>
To:     Luis.Oliveira@...opsys.com,
        linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>
Cc:     linux-kernel <linux-kernel@...r.kernel.org>,
        linux-next <linux-next@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>,
        Stephen Rothwell <sfr@...b.auug.org.au>, wsa@...-dreams.de,
        linux-i2c@...r.kernel.org
Subject: Today's linux-next build fail on powerpc

Hi Luis,

next-20170705 fails to build on powerpc with below errors.

Machine Type: Power 8 Power VM Lpar
Kernel : 4.12.0-next-20170705
gcc : version 5.2.1
config: attached Tul-vm-config

drivers/i2c/busses/i2c-designware-platdrv.c: In function
‘dw_i2c_plat_probe’:
drivers/i2c/busses/i2c-designware-platdrv.c:331:6: error: implicit
declaration of function
‘i2c_detect_slave_mode’ [-Werror=implicit-function-declaration]
  if (i2c_detect_slave_mode(&pdev->dev))
      ^
cc1: some warnings being treated as errors
make[3]: *** [drivers/i2c/busses/i2c-designware-platdrv.o] Error 1


In file drivers/i2c/busses/i2c-designware-platdrv.c 

    ret = i2c_dw_probe_lock_support(dev);
    if (ret)
        goto exit_reset;

>>> if (i2c_detect_slave_mode(&pdev->dev))
        i2c_dw_configure_slave(dev);
    else
        i2c_dw_configure_master(dev);

    dev->clk = devm_clk_get(&pdev->dev, NULL);


The line was first introduced with commit:

commit 5b6d721b266acaef411520e28066e4624c6619e7
Author: Luis Oliveira <Luis.Oliveira@...opsys.com>
Date:   Thu Jun 22 11:17:33 2017 +0100

    i2c: designware: enable SLAVE in platform module
    
    - Slave mode selected in platform module if the support is detected
in
      the DT.
    
    Signed-off-by: Luis Oliveira <lolivei@...opsys.com>
    Reviewed-by: Andy Shevchenko <andy.shevchenko@...il.com>
    Acked-by: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
    Signed-off-by: Wolfram Sang <wsa@...-dreams.de>

diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c
b/drivers/i2c/busses/i2c-designware-platdrv.c
index 1f38c80..2ea6d0d 100644
--- a/drivers/i2c/busses/i2c-designware-platdrv.c
+++ b/drivers/i2c/busses/i2c-designware-platdrv.c




-- 
Regard's

Abdul Haleem
IBM Linux Technology Centre



View attachment "Tul-vm-config" of type "text/plain" (187078 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ