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: <00c5a33b-7c3a-de32-bcca-9fe9e5c6a156@collabora.com>
Date:   Tue, 21 Feb 2023 14:53:31 +0100
From:   AngeloGioacchino Del Regno 
        <angelogioacchino.delregno@...labora.com>
To:     Stephen Zhang <starzhangzsd@...il.com>, stanley.chu@...iatek.com,
        martin.petersen@...cle.com, jejb@...ux.ibm.com,
        artin.petersen@...cle.com, matthias.bgg@...il.com,
        beanhuo@...ron.com, bvanassche@....org, avri.altman@....com,
        yoshihiro.shimoda.uh@...esas.com
Cc:     linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org,
        linux-mediatek@...ts.infradead.org, zhangshida@...inos.cn,
        k2ci <kernel-bot@...inos.cn>,
        Manivannan Sadhasivam <mani@...nel.org>
Subject: Re: [PATCH v3] scsi: ufs: mediatek: Guard runtime PM functions

Il 21/02/23 12:38, Stephen Zhang ha scritto:
> From: Shida Zhang <zhangshida@...inos.cn>
> 
> In a configuration with CONFIG_SCSI_UFS_MEDIATEK set to 'm' and
> CONFIG_PM set to 'n', errors occur at compile time:
> 
> ====
> ../drivers/ufs/host/ufs-mediatek.c: In function ‘ufs_mtk_runtime_suspend’:
> ../drivers/ufs/host/ufs-mediatek.c:1621:8: error: implicit declaration of function ‘ufshcd_runtime_suspend’; did you mean ‘ufs_mtk_runtime_suspend’? [-Werror=implicit-function-declaration]
> ../drivers/ufs/host/ufs-mediatek.c: In function ‘ufs_mtk_runtime_resume’:
> ../drivers/ufs/host/ufs-mediatek.c:1636:9: error: implicit declaration of function ‘ufshcd_runtime_resume’; did you mean ‘ufs_mtk_runtime_resume’? [-Werror=implicit-function-declaration]
> ====
> 
> Fix these errors by guarding the runtime PM functions with CONFIG_PM.
> 
> Reported-by: k2ci <kernel-bot@...inos.cn>
> Signed-off-by: Shida Zhang <zhangshida@...inos.cn>
> Reviewed-by: Manivannan Sadhasivam <mani@...nel.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogiaocchino.delregno@...labora.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ