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] [day] [month] [year] [list]
Message-ID: <176524933142.418581.1268132604546675930.b4-ty@oracle.com>
Date: Mon,  8 Dec 2025 22:21:00 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: avri.altman@....com, avri.altman@...disk.com, bvanassche@....org,
        alim.akhtar@...sung.com, jejb@...ux.ibm.com, can.guo@....qualcomm.com,
        ulf.hansson@...aro.org, beanhuo@...ron.com, jens.wiklander@...aro.org,
        arnd@...db.de, Bean Huo <beanhuo@...pp.de>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
        linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
        kernel test robot <lkp@...el.com>
Subject: Re: [PATCH v1] scsi: ufs: Fix RPMB link error by reversing Kconfig dependencies

On Tue, 02 Dec 2025 16:51:38 +0100, Bean Huo wrote:

> When CONFIG_SCSI_UFSHCD=y and CONFIG_RPMB=m, the kernel fails to link
> with undefined references to ufs_rpmb_probe() and ufs_rpmb_remove():
> 
> ld: drivers/ufs/core/ufshcd.c:8950: undefined reference to `ufs_rpmb_probe'
> ld: drivers/ufs/core/ufshcd.c:10505: undefined reference to `ufs_rpmb_remove'
> 
> The issue is that RPMB depends on its consumers (MMC, UFS) in Kconfig, which
> is backwards. This prevents proper module dependency handling when the library
> is modular but consumers are built-in.
> 
> [...]

Applied to 6.19/scsi-queue, thanks!

[1/1] scsi: ufs: Fix RPMB link error by reversing Kconfig dependencies
      https://git.kernel.org/mkp/scsi/c/d98b4d52bff0

-- 
Martin K. Petersen

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ