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]
Date:   Mon, 23 Aug 2021 11:30:56 +0530
From:   Abdul Haleem <abdhalee@...ux.vnet.ibm.com>
To:     hkallweit1@...il.com, davem@...emloft.net, netdev@...r.kernel.org
Cc:     linux-kernel <linux-kernel@...r.kernel.org>,
        linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
        Brian King <brking@...ux.vnet.ibm.com>, davem@...emloft.net,
        kuba@...nel.org
Subject: [net-next][bisected da41788] modules fails to build
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:12199

Greeting's

Todays net-next branch fails to build on my powerpc box with below error

   CC [M]  drivers/gpu/drm/virtio/virtgpu_trace_points.o
   CC [M]  drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.o
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c: In function ‘bnx2x_read_fwinfo’:
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:12199:13: error: implicit declaration of function ‘pci_vpd_alloc’; did you mean ‘pci_pool_alloc’? [-Werror=implicit-function-declaration]
   vpd_data = pci_vpd_alloc(bp->pdev, &vpd_len);
              ^~~~~~~~~~~~~
              pci_pool_alloc
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:12199:11: warning: assignment to ‘u8 *’ {aka ‘unsigned char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
   vpd_data = pci_vpd_alloc(bp->pdev, &vpd_len);
            ^
   CC [M]  drivers/scsi/qla2xxx/qla_nx.o
   CC [M]  net/netfilter/xt_MASQUERADE.o
   CC [M]  net/bluetooth/ecdh_helper.o
   CC [M]  drivers/gpu/drm/amd/amdgpu/uvd_v5_0.o
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:12203:9: error: implicit declaration of function ‘pci_vpd_find_ro_info_keyword’; did you mean ‘pci_vpd_find_info_keyword’? [-Werror=implicit-function-declaration]
   rodi = pci_vpd_find_ro_info_keyword(vpd_data, vpd_len,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
          pci_vpd_find_info_keyword
   CC [M]  net/netfilter/xt_SECMARK.o
   CC [M]  net/netfilter/xt_TPROXY.o
   CC [M]  net/mac80211/driver-ops.o


The recent changes to the code causing build fail is

commit da417885a99d36036cc7d2778f94b846e6582434
Author: Heiner Kallweit <hkallweit1@...il.com>
Date:   Sun Aug 22 15:54:23 2021 +0200

     bnx2x: Search VPD with pci_vpd_find_ro_info_keyword()
     
     Use pci_vpd_find_ro_info_keyword() to search for keywords in VPD to
     simplify the code.
     
     str_id_reg and str_id_cap hold the same string and are used in the same
     comparison. This doesn't make sense, use one string str_id instead.
     
     Signed-off-by: Heiner Kallweit <hkallweit1@...il.com>
     Signed-off-by: David S. Miller <davem@...emloft.net>

@Heiner, Could you please have a look, I am attaching the kernel config

-- 
Regard's

Abdul Haleem
IBM Linux Technology Center


View attachment "ZZ-VM-config.txt" of type "text/plain" (147144 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ